[PATCH] D29071: Allow InstrCombine to remove one of adjacent guards if they are equivalent

Artur Pilipenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 09:33:25 PST 2017


apilipenko added inline comments.


================
Comment at: test/Transforms/InstCombine/call-guard.ll:5
+
+define void @test_guard_adjacent(i1 %A) {
+; CHECK-LABEL: @test_guard_adjacent(
----------------
It makes sense to add a negative test with different conditions.


https://reviews.llvm.org/D29071





More information about the llvm-commits mailing list