[llvm] [MachineCopyPropagation] When the source of PreviousCopy is undef, we cannot replace sub register (PR #74682)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 05:40:44 PST 2023
================
@@ -0,0 +1,145 @@
+# RUN: llc -o - %s -O3 -mcpu=apple-m1 -mtriple=arm64-apple-macos | FileCheck %s
----------------
DianQK wrote:
> > Does `-stop-before=machine-cp` not work to get a machine-cp only test case?
>
> That doesn't work. When I run machine-cp again, I don't get the expected result.
The machine-cp will run multiple times, and I can't get it to work via `-stop-after=patchable-function`. I also tried `-print-before=machine-cp`.
https://github.com/llvm/llvm-project/pull/74682
More information about the llvm-commits
mailing list