[llvm] 98181a1 - [AMDGPU] Regenerate si-annotate-cfg-loop-assert test checks to fix issue reported on D77354
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 05:09:26 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-08T13:09:08+01:00
New Revision: 98181a1f98e78a3bba6ca852f5a02e36b907b435
URL: https://github.com/llvm/llvm-project/commit/98181a1f98e78a3bba6ca852f5a02e36b907b435
DIFF: https://github.com/llvm/llvm-project/commit/98181a1f98e78a3bba6ca852f5a02e36b907b435.diff
LOG: [AMDGPU] Regenerate si-annotate-cfg-loop-assert test checks to fix issue reported on D77354
Added:
Modified:
llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll b/llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
index b0473f3b5bda..d1dac8c8c782 100644
--- a/llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
+++ b/llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
@@ -1,12 +1,23 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -march=amdgcn -mcpu=kaveri -verify-machineinstrs < %s | FileCheck %s
-; CHECK-LABEL: {{^}}test:
-; CHECK s_and_saveexec_b64
-; CHECK s_xor_b64
-; CHECK s_or_b64 exec, exec
-; CHECK s_andn2_b64 exec, exec
-; CHECK s_cbranch_execnz
define amdgpu_kernel void @test(i32 %arg, i32 %arg1) {
+; CHECK-LABEL: test:
+; CHECK: ; %bb.0: ; %bb
+; CHECK-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
+; CHECK-NEXT: s_waitcnt lgkmcnt(0)
+; CHECK-NEXT: v_cmp_eq_u32_e64 s[2:3], s0, 0
+; CHECK-NEXT: v_cmp_eq_u32_e64 s[0:1], s1, 0
+; CHECK-NEXT: s_or_b64 s[0:1], s[2:3], s[0:1]
+; CHECK-NEXT: s_and_b64 vcc, exec, s[0:1]
+; CHECK-NEXT: s_cbranch_vccnz BB0_3
+; CHECK-NEXT: ; %bb.1: ; %bb9
+; CHECK-NEXT: s_and_b64 vcc, exec, 0
+; CHECK-NEXT: BB0_2: ; %bb10
+; CHECK-NEXT: ; =>This Inner Loop Header: Depth=1
+; CHECK-NEXT: s_cbranch_vccz BB0_2
+; CHECK-NEXT: BB0_3: ; %DummyReturnBlock
+; CHECK-NEXT: s_endpgm
bb:
%tmp = icmp ne i32 %arg, 0
%tmp7 = icmp ne i32 %arg1, 0
More information about the llvm-commits
mailing list