aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-08-30 18:14:44 +0100
committerFlorian Hahn <flo@fhahn.com>2020-08-30 18:21:44 +0100
commiteb35ebb3a2c6db62ec54efdaff23e4f31d118c85 (patch)
tree2bd7b7a6c3eef7a1520fd6013fa855116d36d791 /llvm/lib/FileCheck/FileCheck.cpp
parent7d15ece79c16dc3237fc514ff56a69e3d58fbd39 (diff)
downloadllvm-eb35ebb3a2c6db62ec54efdaff23e4f31d118c85.zip
llvm-eb35ebb3a2c6db62ec54efdaff23e4f31d118c85.tar.gz
llvm-eb35ebb3a2c6db62ec54efdaff23e4f31d118c85.tar.bz2
[LV] Update CFG before adding runtime checks.
addRuntimeChecks uses SCEVExpander, which relies on the DT/LoopInfo to be up-to-date. Changing the CFG afterwards may invalidate some inserted instructions, especially LCSSA phis. Reorder the code to first update the CFG and then create the runtime checks. This should not have any impact on the generated code, as we adjust the CFG and generate runtime checks together. Fixes PR47343.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions