summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-09-17 18:40:21 +0000
committerJessica Paquette <jpaquette@apple.com>2018-09-17 18:40:21 +0000
commitbd72988c3a583840bdc93cc796757a5a0a2e56fc (patch)
tree7411b95088c0cba9e5ca6bd613d3dc4e69b2e52a /clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
parentd405d2792d3145cf199e09fd9ce95ad09220031a (diff)
downloadbcm5719-llvm-bd72988c3a583840bdc93cc796757a5a0a2e56fc.tar.gz
bcm5719-llvm-bd72988c3a583840bdc93cc796757a5a0a2e56fc.zip
[MachineOutliner][NFC] Don't map more illegal instrs than you have to
We were mapping an instruction every time we saw something we couldn't map before this. Since each illegal mapping is unique, we only have to do this once. This makes it so that we don't map illegal instructions when the previous mapped instruction was illegal. In CTMark (AArch64), this results in 240 fewer instruction mappings on average over 619 files in total. The largest improvement is 12576 fewer mappings in one file, and the smallest is 0. The median improvement is 101 fewer mappings. llvm-svn: 342405
Diffstat (limited to 'clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud