[llvm] r228761 - EarlyCSE: Add check lines for test added in r228760
David Majnemer
david.majnemer at gmail.com
Tue Feb 10 15:11:02 PST 2015
Author: majnemer
Date: Tue Feb 10 17:11:02 2015
New Revision: 228761
URL: http://llvm.org/viewvc/llvm-project?rev=228761&view=rev
Log:
EarlyCSE: Add check lines for test added in r228760
Modified:
llvm/trunk/test/Transforms/EarlyCSE/basic.ll
Modified: llvm/trunk/test/Transforms/EarlyCSE/basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/EarlyCSE/basic.ll?rev=228761&r1=228760&r2=228761&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/EarlyCSE/basic.ll (original)
+++ llvm/trunk/test/Transforms/EarlyCSE/basic.ll Tue Feb 10 17:11:02 2015
@@ -193,10 +193,13 @@ define void @test11(i32 *%P) {
; CHECK-NEXT: ret void
}
+; CHECK-LABEL: @test12(
define i32 @test12(i1 %B, i32* %P1, i32* %P2) {
%load0 = load i32* %P1
%1 = load atomic i32* %P2 seq_cst, align 4
%load1 = load i32* %P1
%sel = select i1 %B, i32 %load0, i32 %load1
ret i32 %sel
+ ; CHECK: load i32* %P1
+ ; CHECK: load i32* %P1
}
More information about the llvm-commits
mailing list