[llvm-commits] CVS: llvm/test/Scripts/notcast
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 ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Scripts/notcast
Changes in directory llvm/test/Scripts: notcast updated: 1.4 -> 1.5 --- Log message: Handle ptrtoint and inttoptr --- 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.4 llvm/test/Scripts/notcast:1.5 --- llvm/test/Scripts/notcast:1.4 Fri Nov 10 19:04:13 2006 +++ llvm/test/Scripts/notcast Mon Nov 13 10:09:37 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\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" +if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fpto[us]i\)\|\([us]itofp\)\|\(bitcast\)\|\(fpext\)\|\(fptrunc\)\|\(ptrtoint\)\|\(inttoptr\)\)'"$1" then exit 1 else exit 0 fi ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Scripts/notcast
Changes in directory llvm/test/Scripts: notcast updated: 1.3 -> 1.4 --- Log message: Instruction name changes. --- 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.3 llvm/test/Scripts/notcast:1.4 --- llvm/test/Scripts/notcast:1.3 Fri Nov 3 19:11:19 2006 +++ llvm/test/Scripts/notcast Fri Nov 10 19:04:13 2006 @@ -10,7 +10,7 @@ #prepat - optionally allow a regular expression to go at the start # -if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" +if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fpto[us]i\)\|\([us]itofp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" then exit 1 else exit 0 fi ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Scripts/notcast
Changes in directory llvm/test/Scripts: notcast updated: 1.2 -> 1.3 --- Log message: Okay, need a pattern before and after the cast pattern. --- Diffs of the changes: (+3 -2) notcast |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/test/Scripts/notcast diff -u llvm/test/Scripts/notcast:1.2 llvm/test/Scripts/notcast:1.3 --- llvm/test/Scripts/notcast:1.2 Fri Nov 3 18:58:39 2006 +++ llvm/test/Scripts/notcast Fri Nov 3 19:11:19 2006 @@ -6,10 +6,11 @@ # # Syntax: notcast tailexpr # -#tailexpr - optionally allows a regular expression to go at the end +#postpat - optionally allows a regular expression to go at the end +#prepat - optionally allow a regular expression to go at the start # -if grep '\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" +if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" then exit 1 else exit 0 fi ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Scripts/notcast
Changes in directory llvm/test/Scripts: notcast updated: 1.1 -> 1.2 --- Log message: Allow the regular expression to be extended by a parameter. --- Diffs of the changes: (+5 -2) notcast |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/test/Scripts/notcast diff -u llvm/test/Scripts/notcast:1.1 llvm/test/Scripts/notcast:1.2 --- llvm/test/Scripts/notcast:1.1 Fri Nov 3 18:49:52 2006 +++ llvm/test/Scripts/notcast Fri Nov 3 18:58:39 2006 @@ -4,9 +4,12 @@ # # Synopsis: Returns 0 if the input does not contain a cast operator # -# Syntax: notcast +# Syntax: notcast tailexpr +# +#tailexpr - optionally allows a regular expression to go at the end +# -if grep '\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)' +if grep '\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1" then exit 1 else exit 0 fi ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Scripts/notcast
Changes in directory llvm/test/Scripts: notcast added (r1.1) --- Log message: For PR950: http://llvm.org/PR950 : A little script to return 1 if it encounters any of the cast instructions on the stdin. --- Diffs of the changes: (+12 -0) notcast | 12 1 files changed, 12 insertions(+) Index: llvm/test/Scripts/notcast diff -c /dev/null llvm/test/Scripts/notcast:1.1 *** /dev/null Fri Nov 3 18:50:02 2006 --- llvm/test/Scripts/notcast Fri Nov 3 18:49:52 2006 *** *** 0 --- 1,12 + #!/bin/sh + # + # Program: notcast + # + # Synopsis: Returns 0 if the input does not contain a cast operator + # + # Syntax: notcast + + if grep '\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)' + then exit 1 + else exit 0 + fi ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits