[llvm] [PowerPC] Ensure MI peephole knows about instr modified by combineRLWINM() (PR #97134)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 19:45:25 PDT 2024


================
@@ -0,0 +1,111 @@
+; RUN: llc -verify-machineinstrs -mtriple=powerpc-ibm-aix < %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix < %s
+
+; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
----------------
chenzheng1030 wrote:

Yeah, maybe some CHECK lines are better. I think the patch is testing the case will not fail for machine verifier.

Can we use MIR tests? The ll case is still too complicated...

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


More information about the llvm-commits mailing list