[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Sep 28 23:16:48 PDT 2005
Changes in directory llvm/test/Regression/Transforms/SimplifyLibCalls:
IsDigit.ll updated: 1.2 -> 1.3
---
Log message:
new testcase for isascii
---
Diffs of the changes: (+4 -2)
IsDigit.ll | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll
diff -u llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll:1.2 llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll:1.2 Wed May 4 12:45:10 2005
+++ llvm/test/Regression/Transforms/SimplifyLibCalls/IsDigit.ll Thu Sep 29 01:16:37 2005
@@ -1,7 +1,8 @@
; Test that the IsDigitOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*isdigit'
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call'
declare int %isdigit(int)
+declare int %isascii(int)
implementation ; Functions:
@@ -14,5 +15,6 @@
%rslt2 = add int %val3, %val4
%sum = add int %rslt1, %rslt2
%rslt = call int %isdigit(int %sum)
- ret int %rslt
+ %tmp = call int %isascii(int %rslt)
+ ret int %tmp
}
More information about the llvm-commits
mailing list