aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-07-11 10:52:08 +0000
committerDiana Picus <diana.picus@linaro.org>2017-07-11 10:52:08 +0000
commit84baba20db90fd630161e3247ea0bda8d2a60f2e (patch)
tree109b396a1ca92f93ade08d5c37488280dfcdca8d /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
parent57938df813d5934b6b9400968a6e09d46d611802 (diff)
downloadllvm-84baba20db90fd630161e3247ea0bda8d2a60f2e.zip
llvm-84baba20db90fd630161e3247ea0bda8d2a60f2e.tar.gz
llvm-84baba20db90fd630161e3247ea0bda8d2a60f2e.tar.bz2
[ARM] GlobalISel: Tighten legalizer tests. NFC
Make sure that all the legalizer tests where the original instruction needs to be removed check for the removal. We do this by adding CHECK-NOT lines before and after the replacement sequence. This won't catch pathological cases where the instruction remains somewhere in the middle of the instruction sequence that's supposed to replace it, but hopefully that won't occur in practice (since ideally we'd be setting the insert point for the new instruction sequence either before or after the original instruction and not fiddle with it while building the sequence). llvm-svn: 307647
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions