summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/llvm.sin.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-09-17 17:32:13 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-09-17 17:32:13 +0000
commit02dc26529e653854bd97dfb946e48199d449bd98 (patch)
tree62e469b4ae88f0cd0dd9d6dca536418d39b2e705 /llvm/test/CodeGen/R600/llvm.sin.ll
parent95bbdf6428d0711cac8201f1d4ca93d598711295 (diff)
downloadbcm5719-llvm-02dc26529e653854bd97dfb946e48199d449bd98.tar.gz
bcm5719-llvm-02dc26529e653854bd97dfb946e48199d449bd98.zip
R600/SI: Change formatting of printed FP immediates
Only 1 decimal place should be printed for inline immediates. Other constants should be hex constants. Does not include f64 tests because folding those inline immediates currently does not work. llvm-svn: 217964
Diffstat (limited to 'llvm/test/CodeGen/R600/llvm.sin.ll')
-rw-r--r--llvm/test/CodeGen/R600/llvm.sin.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/R600/llvm.sin.ll b/llvm/test/CodeGen/R600/llvm.sin.ll
index 5b1f18e84b1..50ddb147462 100644
--- a/llvm/test/CodeGen/R600/llvm.sin.ll
+++ b/llvm/test/CodeGen/R600/llvm.sin.ll
@@ -21,7 +21,7 @@ define void @sin_f32(float addrspace(1)* %out, float %x) #1 {
; FUNC-LABEL: @sin_3x_f32
; SI-UNSAFE-NOT: V_ADD_F32
-; SI-UNSAFE: 4.774648e-01
+; SI-UNSAFE: 0x3ef47644
; SI-UNSAFE: V_MUL_F32
; SI-SAFE: V_MUL_F32
; SI-SAFE: V_MUL_F32
@@ -37,7 +37,7 @@ define void @sin_3x_f32(float addrspace(1)* %out, float %x) #1 {
; FUNC-LABEL: @sin_2x_f32
; SI-UNSAFE-NOT: V_ADD_F32
-; SI-UNSAFE: 3.183099e-01
+; SI-UNSAFE: 0x3ea2f983
; SI-UNSAFE: V_MUL_F32
; SI-SAFE: V_ADD_F32
; SI-SAFE: V_MUL_F32
@@ -52,7 +52,7 @@ define void @sin_2x_f32(float addrspace(1)* %out, float %x) #1 {
}
; FUNC-LABEL: @test_2sin_f32
-; SI-UNSAFE: 3.183099e-01
+; SI-UNSAFE: 0x3ea2f983
; SI-UNSAFE: V_MUL_F32
; SI-SAFE: V_ADD_F32
; SI-SAFE: V_MUL_F32
OpenPOWER on IntegriCloud