17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2;; Loading a value with max aligment triggered an assertion due to unsigned3;; integer truncation causing 1<<32 to be interpreted as 0 after the max4;; alignment was increased in df84c1fe78130a86445d57563dea742e1b85156a5; RUN: llc -mtriple=mips64 -target-abi=n64 -relocation-model=pic < %s | FileCheck %s6 7define i32 @load_max_align(ptr %arg) nounwind {8; CHECK-LABEL: load_max_align:9; CHECK: # %bb.0: # %entry10; CHECK-NEXT: lw $2, 0($4)11; CHECK-NEXT: jr $ra12; CHECK-NEXT: nop13entry:14 %result = load i32, ptr %arg, align 429496729615 ret i32 %result16}17