summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-08-13 00:04:08 +0000
committerJustin Lebar <jlebar@google.com>2016-08-13 00:04:08 +0000
commit222ceff289a101cb5f318dc607a6ebe253e8b1e1 (patch)
tree534e573cc8565e813d2c022a89a8f38f99b22e20 /llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll
parent4d03572c14621dd03ee9f8412f324a629fbb6153 (diff)
downloadbcm5719-llvm-222ceff289a101cb5f318dc607a6ebe253e8b1e1.tar.gz
bcm5719-llvm-222ceff289a101cb5f318dc607a6ebe253e8b1e1.zip
[LSV] Use OrderedBasicBlock instead of rolling it ourselves. NFC
Summary: In getVectorizablePrefix, this is less efficient (because we have to iterate over the BB twice), but boy is it simpler. Given how much trouble we've had here, I think the simplicity gain is worthwhile. In reorder(), this is actually more efficient, as DominatorTree::dominates iterates over the BB from the beginning when the two instructions are in the same BB. Reviewers: asbirlea Subscribers: arsenm, llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D23472 llvm-svn: 278580
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud