[PATCH] D37209: [LSR] Fix Shadow IV in case of integer overflow
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 28 22:24:35 PDT 2017
mkazantsev added inline comments.
================
Comment at: test/Transforms/LoopStrengthReduce/X86/2008-08-14-ShadowIV.ll:66
tail call void @foo( double %2 ) nounwind
add i32 %i.03, 1 ; <i32>:3 [#uses=2]
tail call i32 (...) @nn( ) nounwind ; <i32>:4 [#uses=1]
----------------
mkazantsev wrote:
> reames wrote:
> > Is this even valid IR? I don't see a value being assigned here? Unless this is just wrapping really weirdly?
> Guess that the unnamed variables are called `%1`, `%2` etc.
Refactored the test as https://reviews.llvm.org/rL311980
https://reviews.llvm.org/D37209
More information about the llvm-commits
mailing list