Don't eliminate a test case, just the form of the test case, from the
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 May 2005 21:35:26 +0000 (21:35 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 May 2005 21:35:26 +0000 (21:35 +0000)
previous revision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22072 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyLibCalls/FFS.ll

index 4031290c20c59220b6e00a20e0a3aa053f712041..ccaaf3d350d54fd9c1d85532d74218a7652ef6f3 100644 (file)
@@ -13,11 +13,12 @@ int %main () {
   %arg  = load int* %non_const
   %val0 = call int %ffs(int %arg)
   %val1 = call int %ffs(int 1)
+  %val2 = call int %ffs(int 2048)
   %val3 = call int %ffsl(int 65536)
   %val4 = call int %ffsll(long 1024)
   %val5 = call int %ffsll(long 17179869184)
   %val6 = call int %ffsll(long 1152921504606846976)
-  %rslt1 = add int %val1, 0
+  %rslt1 = add int %val1, %val2
   %rslt2 = add int %val3, %val4
   %rslt3 = add int %val5, %val6
   %rslt4 = add int %rslt1, %rslt2