summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-02-06 09:54:51 +0000
committerTim Northover <tnorthover@apple.com>2014-02-06 09:54:51 +0000
commitc0fc62c2f9b10f05bc055f78480d7e393393682f (patch)
tree8aa87af5ab7d95c6a17bddbac74aac3bf11342ff /lib/Target/XCore/XCoreTargetObjectFile.cpp
parent9f2252fe472f38cbc04af275950175019733e2ae (diff)
downloadllvm-c0fc62c2f9b10f05bc055f78480d7e393393682f.tar.gz
llvm-c0fc62c2f9b10f05bc055f78480d7e393393682f.tar.bz2
llvm-c0fc62c2f9b10f05bc055f78480d7e393393682f.tar.xz
X86: deduplicate V[SZ]EXT_MOVL and V[SZ]EXT nodes
I believe VZEXT_MOVL means "zero all vector elements except the first" (and should have identical input & output types) whereas VZEXT means "zero extend each element of a vector (discarding higher elements if necessary)". For example: (v4i32 (vzext (v16i8 ...))) should zero extend the low 4 bytes of the incoming vector to 32-bits, discarding higher bytes. However, somewhere in the past, these two concepts had become confused, even leading to a nonsensical VSEXT_MOVL. This re-merges the nodes where appropriate (all VSEXT_MOVL -> VSEXT, VZEXT_MOVL -> VZEXT when it's an actual extension). rdar://problem/15981990 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions