summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-12-12 16:44:48 +0000
committerSanjay Patel <spatel@rotateright.com>2015-12-12 16:44:48 +0000
commit1d49fc9b2774bbdabab2fc816d25f360d80712c9 (patch)
tree2959d1f85a98714321539d92e22069309daaa291 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.h
parenta2d15918764808a945d13398a03de7929f0a7a78 (diff)
downloadbcm5719-llvm-1d49fc9b2774bbdabab2fc816d25f360d80712c9.tar.gz
bcm5719-llvm-1d49fc9b2774bbdabab2fc816d25f360d80712c9.zip
[InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X))
This change was discussed in D15392. It allows us to remove the fold that was added in: http://reviews.llvm.org/r255261 ...and it will allow us to generalize this fold: http://reviews.llvm.org/rL112232 while preserving the order of bitcast + extract that it produces and testing shows is better handled by the backend. Note that the existing check for "isVectorTy()" wasn't strong enough in general and specifically because: x86_mmx. It's not a vector, but it's not vectorizable either. So here we check VectorType::isValidElementType() directly before proceeding with the transform. llvm-svn: 255433
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud