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