[llvm-branch-commits] [llvm] [X86][NewPM] Port X86FixupLEAs to NPM (PR #173744)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Dec 28 13:02:51 PST 2025


================
@@ -1,5 +1,7 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -run-pass x86-fixup-LEAs -mtriple=x86_64-gnu-unknown -verify-machineinstrs -mcpu=corei7-avx -o - %s | FileCheck %s
+# RUN: llc -run-pass x86-fixup-leas -mtriple=x86_64-gnu-unknown -verify-machineinstrs -mcpu=corei7-avx -o - %s | FileCheck %s
+# RUN: llc -passes="require<profile-summary>,function(machine-function(x86-fixup-leas))" -mtriple=x86_64-gnu-unknown -verify-machineinstrs -mcpu=corei7-avx -o - %s | FileCheck %s
----------------
arsenm wrote:

I don't think -verify-machineinstrs does anything with new PM (and it should be unnecessary anyway, mir tests should always run the verifier at the end)

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


More information about the llvm-branch-commits mailing list