[llvm] [RISCV] Implement RISCVTTIImpl::getPreferredAddressingMode for HasVendorXCVmem (PR #120533)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 02:23:28 PST 2024


================
@@ -0,0 +1,34 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -O3 -mtriple=riscv32 -mattr=+m,+xcvmem -verify-machineinstrs < %s \
+; RUN:   | FileCheck %s --check-prefixes=CHECK
+
+define i32 @test_heuristic(ptr %b, i32 %e, i1 %0) {
----------------
wangpc-pp wrote:

Please precommit this test so that we can see the diff.

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


More information about the llvm-commits mailing list