[llvm] [DAG] Remove OneUse restriction when folding (shl (add x, c1), c2) (PR #101294)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 4 23:16:36 PDT 2024


================
@@ -0,0 +1,60 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
+; RUN:   | FileCheck -check-prefix=RV32 %s
+; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s \
+; RUN:   | FileCheck -check-prefix=RV64 %s
+
----------------
arsenm wrote:

Don't need -verify-machineinstrs 

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


More information about the llvm-commits mailing list