; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc -mtriple=riscv64 -global-isel -verify-machineinstrs < %s \ ; RUN: | FileCheck %s --check-prefix=RV64I define i32 @addiw_sext_inreg(i32 noundef signext %A) #0 { ; RV64I-LABEL: addiw_sext_inreg: ; RV64I: # %bb.0: # %entry ; RV64I-NEXT: addiw a0, a0, 123 ; RV64I-NEXT: ret entry: %add = add nsw i32 123, %A ret i32 %add } attributes #0 = { noinline nounwind optnone }