[PATCH] D141895: [AMDGPU] Add missing physical register check in SIFoldOperands::tryFoldLoad

Yashwant Singh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 02:58:48 PST 2023


yassingh added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/swdev373493.ll:7
+entry:
+  switch i32 undef, label %sw.epilog [
+    i32 3, label %sw.bb8
----------------
arsenm wrote:
> Avoid branch on undef 
I generated this test by reducing the huge test filed with the ticket. I'm unable to generate the compiler failure without undef here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141895/new/

https://reviews.llvm.org/D141895



More information about the llvm-commits mailing list