diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 17:45:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 17:45:10 +0000 |
commit | 3ec93c593c820b8626e4649fbbf41abb03a3a311 (patch) | |
tree | 5d49d3f323d06aebd5d0feaa47de66f0a375c7e0 | |
parent | 57ff221e24597e7152d95236011746c76ce1b4c5 (diff) |
Make sure both optimization cases get tested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21687 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/SimplifyLibCalls/IsDigit.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyLibCalls/IsDigit.ll b/test/Transforms/SimplifyLibCalls/IsDigit.ll index 1f8f7cf548..6fc05657c6 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 } |