summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-05-16 20:56:41 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-05-16 20:56:41 +0000
commitf719ee9e767341eacf4f74dba0acf0fdf36821bc (patch)
tree06daa65cc8b8806e6db5e8fce1a754d1943206a5 /llvm/test
parent725db5d2c8f6f09d7708e8bdcd51cca65ee7f763 (diff)
downloadbcm5719-llvm-f719ee9e767341eacf4f74dba0acf0fdf36821bc.tar.gz
bcm5719-llvm-f719ee9e767341eacf4f74dba0acf0fdf36821bc.zip
R600/SI: Promote f32 SELECT to i32
llvm-svn: 209024
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/R600/v_cndmask.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/R600/v_cndmask.ll b/llvm/test/CodeGen/R600/v_cndmask.ll
index f8e96559a8a..84087ee78d5 100644
--- a/llvm/test/CodeGen/R600/v_cndmask.ll
+++ b/llvm/test/CodeGen/R600/v_cndmask.ll
@@ -3,7 +3,8 @@
; SI: @v_cnd_nan
; SI: V_CNDMASK_B32_e64 v{{[0-9]}},
; SI-DAG: v{{[0-9]}}
-; SI-DAG: {{nan|#QNAN}}
+; All nan values are converted to 0xffffffff
+; SI-DAG: -1
define void @v_cnd_nan(float addrspace(1)* %out, i32 %c, float %f) {
entry:
%0 = icmp ne i32 %c, 0
OpenPOWER on IntegriCloud