summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-06-04 21:43:28 +0000
committerVedant Kumar <vsk@apple.com>2018-06-04 21:43:28 +0000
commitfb7c768a3b524f4095b7201a300c4501c9b48d83 (patch)
treef5fa626421b7aef7c0ad8b6ba738adfd011d42d2 /llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
parent89fbd551450d22ef01a33d208870407c7eff208b (diff)
downloadbcm5719-llvm-fb7c768a3b524f4095b7201a300c4501c9b48d83.tar.gz
bcm5719-llvm-fb7c768a3b524f4095b7201a300c4501c9b48d83.zip
[Debugify] Preserve analyses in -check-debugify
The -check-debugify pass should preserve all analyses. Otherwise, it may invalidate an optional analysis and inadvertently alter codegen. The test case is reduced from deopt-bundle.ll. The result of `opt -O1` on this file would differ when -debugify-each was toggled. That happened because CheckDebugify failed to preserve GlobalsAA. Thanks to Davide Italiano for his help chasing this down! llvm-svn: 333959
Diffstat (limited to 'llvm/lib/CodeGen/MIRCanonicalizerPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud