[llvm] [RISCV][GlobalISel] Lower G_SMULFIX (PR #196636)
Gábor Spaits via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 14:07:27 PDT 2026
================
@@ -0,0 +1,82 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -O3 -mtriple=riscv32 -mattr=+m -verify-machineinstrs -global-isel < %s \
+; RUN: | FileCheck %s -check-prefix=RV32I
+; RUN: llc -O3 -mtriple=riscv64 -mattr=+m -verify-machineinstrs -global-isel < %s \
+; RUN: | FileCheck %s -check-prefix=RV64I
+
+define i32 @smulfix_i32(i32 %1, i32 %2) {
----------------
spaits wrote:
I should do a `scale=0` test.
https://github.com/llvm/llvm-project/pull/196636
More information about the llvm-commits
mailing list