16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=riscv64 -global-isel -verify-machineinstrs < %s \3; RUN: | FileCheck %s --check-prefix=RV64I4 5define i32 @addiw_sext_inreg(i32 noundef signext %A) #0 {6; RV64I-LABEL: addiw_sext_inreg:7; RV64I: # %bb.0: # %entry8; RV64I-NEXT: addiw a0, a0, 1239; RV64I-NEXT: ret10entry:11 %add = add nsw i32 123, %A12 ret i32 %add13}14 15attributes #0 = { noinline nounwind optnone }16