summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/BinaryStreamRef.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-06-06 14:54:01 +0000
committerAnna Thomas <anna@azul.com>2017-06-06 14:54:01 +0000
commit72180320192c3af09497398828ecc4405bc07739 (patch)
treea2a64cc5b182a002bbccb959ddef1045d8c1291f /llvm/lib/Support/BinaryStreamRef.cpp
parent3446ff4df591f4d22be608b95dbb8c10a6f36fc6 (diff)
downloadbcm5719-llvm-72180320192c3af09497398828ecc4405bc07739.tar.gz
bcm5719-llvm-72180320192c3af09497398828ecc4405bc07739.zip
[IRCE] Canonicalize pre/post loops after the blocks are added into parent loop
Summary: We were canonizalizing the pre loop (into loop-simplify form) before the post loop blocks were added into parent loop. This is incorrect when IRCE is done on a subloop. The post-loop blocks are created, but not yet added to the parent loop. So, loop-simplification on the pre-loop incorrectly updates LoopInfo. This patch corrects the ordering so that pre and post loop blocks are added to parent loop (if any), and then the loops are canonicalized to LCSSA and LoopSimplifyForm. Reviewers: reames, sanjoy, apilipenko Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33846 llvm-svn: 304800
Diffstat (limited to 'llvm/lib/Support/BinaryStreamRef.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud