1; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s 2; Check that the mis-aligned load doesn't cause compiler to assert. 3 4declare i32 @_hi(i64) #1 5@temp1 = common global i32 0, align 4 6 7define i32 @CSDRSEARCH_executeSearchManager() #0 { 8entry: 9 %temp = alloca i32, align 4 10 %0 = load i32, i32* @temp1, align 4 11 store i32 %0, i32* %temp, align 4 12 %1 = bitcast i32* %temp to i64* 13 %2 = load i64, i64* %1, align 8 14 %call = call i32 @_hi(i64 %2) 15 ret i32 %call 16} 17