[llvm-commits] CVS: llvm/test/Scripts/notcast

Reid Spencer reid at x10sys.com
Mon Nov 13 08:11:28 PST 2006



Changes in directory llvm/test/Scripts:

notcast updated: 1.5 -> 1.6
---
Log message:

Make it handle plain old cast too, for old assembly.


---
Diffs of the changes:  (+1 -1)

 notcast |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Scripts/notcast
diff -u llvm/test/Scripts/notcast:1.5 llvm/test/Scripts/notcast:1.6
--- llvm/test/Scripts/notcast:1.5	Mon Nov 13 10:09:37 2006
+++ llvm/test/Scripts/notcast	Mon Nov 13 10:11:14 2006
@@ -10,7 +10,7 @@
 #    prepat  - optionally allow a regular expression to go at the start
 #
 
-if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fpto[us]i\)\|\([us]itofp\)\|\(bitcast\)\|\(fpext\)\|\(fptrunc\)\|\(ptrtoint\)\|\(inttoptr\)\)'"$1"
+if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fpto[us]i\)\|\([us]itofp\)\|\(bitcast\)\|\(fpext\)\|\(fptrunc\)\|\(ptrtoint\)\|\(inttoptr\)\|\(cast\)\)'"$1"
 then exit 1
 else exit 0
 fi






More information about the llvm-commits mailing list