X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FARM%2Fcommute-movcc.ll;h=7316452cd617abfb3a026dc87aba4dfc1027479d;hb=9243c4f7c54b8d0be22a4c9d411b15f462039d06;hp=f53ac17876f26f3ee3a19554a1c90e8f2dd5ed09;hpb=63246de68653ce330c55453cf9a18a306a4d2319;p=oota-llvm.git diff --git a/test/CodeGen/ARM/commute-movcc.ll b/test/CodeGen/ARM/commute-movcc.ll index f53ac17876f..7316452cd61 100644 --- a/test/CodeGen/ARM/commute-movcc.ll +++ b/test/CodeGen/ARM/commute-movcc.ll @@ -17,7 +17,11 @@ ; CHECK: movls ; CHECK-NOT: mov +; This is really an LSR test: Make sure that cmp is using the incremented +; induction variable. ; CHECK: %if.end8 +; CHECK: add{{(s|\.w)?}} [[IV:r[0-9]+]], {{.*}}#1 +; CHECK: cmp [[IV]], # define i32 @f(i32* nocapture %a, i32 %Pref) nounwind ssp { entry: