[LoopReroll] Ignore debug intrinsics
authorWeiming Zhao <weimingz@codeaurora.org>
Mon, 28 Sep 2015 17:03:23 +0000 (17:03 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Mon, 28 Sep 2015 17:03:23 +0000 (17:03 +0000)
commit90d2c9d60b0a7eb7e9ba3bc5d4388364aef38dc0
tree68ff4e785ae28bba19e68899abfc3025c0a8acc3
parentec9e44d1d48dbf051ac389ccb6c0addeadc3a695
[LoopReroll] Ignore debug intrinsics

Originally, debug intrinsics and annotation intrinsics may prevent
the loop to be rerolled, now they are ignored.

Differential Revision: http://reviews.llvm.org/D13150

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopRerollPass.cpp
test/Transforms/LoopReroll/reroll_with_dbg.ll [new file with mode: 0644]