[llvm] [MachineLICM] Hoist copies of constant physical register (PR #93285)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Sun May 26 21:14:32 PDT 2024


================
@@ -12,21 +12,19 @@ define i32 @test(i32 %size, ptr %add.ptr, i64 %const) {
 ; RV32-NEXT:    vsetivli zero, 8, e8, mf2, ta, ma
----------------
wangpc-pp wrote:

At least it doesn't crash? :-)
I will do some modifications to keep the loop.

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


More information about the llvm-commits mailing list