[llvm] [AMDGPU] Fix end() iterator dereference in SILowerSGPRSpills (PR #88828)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 02:56:36 PDT 2024
================
@@ -0,0 +1,1445 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
+
+# Test that the si-lower-sgpr-spills pass does not defeference a
+# machine instruction iterator that is equal to end().
+
+---
+name: empty_spill_block
----------------
arsenm wrote:
Oh right, I never pushed the block reduction for MIR
https://github.com/llvm/llvm-project/pull/88828
More information about the llvm-commits
mailing list