From: Reid Spencer Date: Wed, 4 May 2005 17:45:10 +0000 (+0000) Subject: Make sure both optimization cases get tested. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ec93c593c820b8626e4649fbbf41abb03a3a311;p=oota-llvm.git Make sure both optimization cases get tested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21687 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/SimplifyLibCalls/IsDigit.ll b/test/Transforms/SimplifyLibCalls/IsDigit.ll index 1f8f7cf548a..6fc05657c66 100644 --- a/test/Transforms/SimplifyLibCalls/IsDigit.ll +++ b/test/Transforms/SimplifyLibCalls/IsDigit.ll @@ -12,6 +12,7 @@ int %main () { %val4 = call int %isdigit(int 58) %rslt1 = add int %val1, %val2 %rslt2 = add int %val3, %val4 - %rslt = add int %rslt1, %rslt2 + %sum = add int %rslt1, %rslt2 + %rslt = call int %isdigit(int %sum) ret int %rslt }