[PATCH] D64273: [AMDGPU] Add test case on crashing of `si-lower-sgpr-spills` pass
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 11:51:53 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL366602: [AMDGPU] Add test case on crashing of `si-lower-sgpr-spills` pass (authored by hliao, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D64273?vs=208268&id=210875#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64273/new/
https://reviews.llvm.org/D64273
Files:
llvm/trunk/test/CodeGen/AMDGPU/si-lower-sgpr-spills.mir
Index: llvm/trunk/test/CodeGen/AMDGPU/si-lower-sgpr-spills.mir
===================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/si-lower-sgpr-spills.mir
+++ llvm/trunk/test/CodeGen/AMDGPU/si-lower-sgpr-spills.mir
@@ -0,0 +1,20 @@
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
+
+# CHECK-LABEL: name: empty_entry_block
+# CHECK: V_WRITELANE
+# CHECK-NEXT: V_WRITELANE
+# CHECK-NEXT: V_WRITELANE
+# CHECK-NEXT: V_WRITELANE
+# CHECK: V_READLANE
+# CHECK-NEXT: V_READLANE
+# CHECK-NEXT: V_READLANE
+# CHECK-NEXT: V_READLANE
+---
+name: empty_entry_block
+body: |
+ bb.0:
+
+ bb.1:
+ renamable $sgpr36_sgpr37 = S_XOR_B64 renamable $vcc, -1, implicit-def dead $scc
+ $sgpr34_sgpr35 = S_AND_SAVEEXEC_B64 $sgpr36_sgpr37, implicit-def $exec, implicit-def $scc, implicit $exec
+ S_ENDPGM 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64273.210875.patch
Type: text/x-patch
Size: 909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190719/fa838499/attachment.bin>
More information about the llvm-commits
mailing list