diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-07-14 01:42:54 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-07-14 01:42:54 +0000 |
commit | c1c7a1309c039ec8539e3c851f332825d8855223 (patch) | |
tree | f02719af3762ca8753eb422a365ef33ddf23f0c4 /llvm/test/Transforms/CodeGenPrepare/basic.ll | |
parent | 2e105ff8b789f517c3e19de275775df2d6da4aa0 (diff) | |
download | bcm5719-llvm-c1c7a1309c039ec8539e3c851f332825d8855223.tar.gz bcm5719-llvm-c1c7a1309c039ec8539e3c851f332825d8855223.zip |
Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change.
This update was done with the following bash script:
find test/Transforms -name "*.ll" | \
while read NAME; do
echo "$NAME"
if ! grep -q "^; *RUN: *llc" $NAME; then
TEMP=`mktemp -t temp`
cp $NAME $TEMP
sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \
while read FUNC; do
sed -i '' "s/;\(.*\)\([A-Za-z0-9_]*\):\( *\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3@$FUNC(/g" $TEMP
done
mv $TEMP $NAME
fi
done
llvm-svn: 186268
Diffstat (limited to 'llvm/test/Transforms/CodeGenPrepare/basic.ll')
-rw-r--r-- | llvm/test/Transforms/CodeGenPrepare/basic.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/CodeGenPrepare/basic.ll b/llvm/test/Transforms/CodeGenPrepare/basic.ll index d617e43be86..495d910b5cd 100644 --- a/llvm/test/Transforms/CodeGenPrepare/basic.ll +++ b/llvm/test/Transforms/CodeGenPrepare/basic.ll @@ -3,7 +3,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-darwin10.0.0" -; CHECK: @test1 +; CHECK-LABEL: @test1( ; objectsize should fold to a constant, which causes the branch to fold to an ; uncond branch. Next, we fold the control flow alltogether. ; rdar://8785296 |