[llvm] [CodeGen] Guard copy propagation in machine CSE against undefs (PR #97413)

Vikram Hegde via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 08:19:16 PDT 2024


================
@@ -0,0 +1,22 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=amdgcn -run-pass=machine-cse -verify-machineinstrs -o - %s | FileCheck %s
+
+# Test to ensure that this does not crash on undefs
+---
+name: machine-cse-copyprop
----------------
vikramRH wrote:

done

https://github.com/llvm/llvm-project/pull/97413


More information about the llvm-commits mailing list