diff options
Diffstat (limited to 'test/CodeGen/R600/simplify-demanded-bits-build-pair.ll')
-rw-r--r-- | test/CodeGen/R600/simplify-demanded-bits-build-pair.ll | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/CodeGen/R600/simplify-demanded-bits-build-pair.ll b/test/CodeGen/R600/simplify-demanded-bits-build-pair.ll index dee4326..8d9ee42 100644 --- a/test/CodeGen/R600/simplify-demanded-bits-build-pair.ll +++ b/test/CodeGen/R600/simplify-demanded-bits-build-pair.ll @@ -1,6 +1,5 @@ -; RUN: llc -verify-machineinstrs -march=r600 -mcpu=SI < %s | FileCheck -check-prefix=SI %s - ; XFAIL: * +; RUN: llc -verify-machineinstrs -march=r600 -mcpu=SI -mattr=-promote-alloca < %s | FileCheck -check-prefix=SI %s ; 64-bit select was originally lowered with a build_pair, and this ; could be simplified to 1 cndmask instead of 2, but that broken when @@ -15,10 +14,10 @@ define void @trunc_select_i64(i32 addrspace(1)* %out, i64 %a, i64 %b, i32 %c) { } ; FIXME: Fix truncating store for local memory -; SI-LABEL: @trunc_load_alloca_i64: -; SI: DS_READ_B32 -; SI-NOT: DS_READ_B64 -; SI: S_ENDPGM +; SI-LABEL: {{^}}trunc_load_alloca_i64: +; SI: v_movrels_b32 +; SI-NOT: v_movrels_b32 +; SI: s_endpgm define void @trunc_load_alloca_i64(i64 addrspace(1)* %out, i32 %a, i32 %b) { %idx = add i32 %a, %b %alloca = alloca i64, i32 4 |