1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ;; Loading a value with max aligment triggered an assertion due to unsigned
3 ;; integer truncation causing 1<<32 to be interpreted as 0 after the max
4 ;; alignment was increased in df84c1fe78130a86445d57563dea742e1b85156a
5 ; RUN: llc -mtriple=mips64 -target-abi=n64 -relocation-model=pic < %s | FileCheck %s
7 define i32 @load_max_align(ptr %arg) nounwind {
8 ; CHECK-LABEL: load_max_align:
9 ; CHECK: # %bb.0: # %entry
10 ; CHECK-NEXT: lw $2, 0($4)
14 %result = load i32, ptr %arg, align 4294967296