summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-05 17:09:11 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-05 17:09:11 +0000
commit3ce2ec847885b004c768869b825be1ff9d98eca3 (patch)
tree60d6be8e13ad1aea0210dc733476d97de8bb2d06 /test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll
parent50a44a62b8dc8092b0c5cf5e4f2b62cd60085527 (diff)
downloadllvm-3ce2ec847885b004c768869b825be1ff9d98eca3.tar.gz
llvm-3ce2ec847885b004c768869b825be1ff9d98eca3.tar.bz2
llvm-3ce2ec847885b004c768869b825be1ff9d98eca3.tar.xz
R600: Emit function name in the AsmPrinter
Emitting the function name allows us to check for it in the FileCheck tests so we can make sure FileCheck is checking the output of the correct function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll')
-rw-r--r--test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll b/test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll
index 1acf905955..fd958b3659 100644
--- a/test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll
+++ b/test/CodeGen/R600/dagcombiner-bug-illegal-vec4-int-to-fp.ll
@@ -1,13 +1,15 @@
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
-;CHECK: INT_TO_FLT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
-
; This test is for a bug in
; DAGCombiner::reduceBuildVecConvertToConvertBuildVec() where
; the wrong type was being passed to
; TargetLowering::getOperationAction() when checking the legality of
; ISD::UINT_TO_FP and ISD::SINT_TO_FP opcodes.
+
+; CHECK: @sint
+; CHECK: INT_TO_FLT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
+
define void @sint(<4 x float> addrspace(1)* %out, i32 addrspace(1)* %in) {
entry:
%ptr = getelementptr i32 addrspace(1)* %in, i32 1
@@ -19,6 +21,7 @@ entry:
ret void
}
+;CHECK: @uint
;CHECK: UINT_TO_FLT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
define void @uint(<4 x float> addrspace(1)* %out, i32 addrspace(1)* %in) {