For PR950:

A little script to return 1 if it encounters any of the cast instructions
on the stdin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-11-04 00:49:52 +00:00
parent 7a11908195
commit 2461b73d9d

12
test/Scripts/notcast Executable file
View File

@ -0,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