summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/literals.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/literals.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/literals.ll')
-rw-r--r--test/CodeGen/R600/literals.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/R600/literals.ll b/test/CodeGen/R600/literals.ll
index 4c731b25ec..be62342986 100644
--- a/test/CodeGen/R600/literals.ll
+++ b/test/CodeGen/R600/literals.ll
@@ -6,6 +6,7 @@
; or
; ADD_INT literal.x REG, 5
+; CHECK; @i32_literal
; CHECK: ADD_INT {{[A-Z0-9,. ]*}}literal.x,{{[A-Z0-9,. ]*}} 5
define void @i32_literal(i32 addrspace(1)* %out, i32 %in) {
entry:
@@ -20,6 +21,7 @@ entry:
; or
; ADD literal.x REG, 5.0
+; CHECK: @float_literal
; CHECK: ADD {{[A-Z0-9,. ]*}}literal.x,{{[A-Z0-9,. ]*}} {{[0-9]+}}(5.0
define void @float_literal(float addrspace(1)* %out, float %in) {
entry: