[PATCH] D44515: [IRCE] Change min value safety check

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 21 22:39:46 PDT 2018


mkazantsev added inline comments.


================
Comment at: test/Transforms/IRCE/eq_ne.ll:140
 
-; Show that if n is not known to be greater than the starting value, IRCE
-; doesn't apply.
 define void @test_04(i32* %arr, i32* %a_len_ptr) #0 {
 
----------------
Please add checks for positive test just like in `test_03`. Also do the same for your new tests.


https://reviews.llvm.org/D44515





More information about the llvm-commits mailing list