1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=hexagon < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; We shouldn't see a 32-bit expansion of -120, just the uint8 value. 3*9880d681SAndroid Build Coastguard Worker; CHECK: #136 4*9880d681SAndroid Build Coastguard Workerdefine i32 @foo([4 x i8]* %ptr) { 5*9880d681SAndroid Build Coastguard Workerentry: 6*9880d681SAndroid Build Coastguard Worker %msb = getelementptr inbounds [4 x i8], [4 x i8]* %ptr, i32 0, i32 3 7*9880d681SAndroid Build Coastguard Worker %lsb = getelementptr inbounds [4 x i8], [4 x i8]* %ptr, i32 0, i32 2 8*9880d681SAndroid Build Coastguard Worker store i8 0, i8* %msb 9*9880d681SAndroid Build Coastguard Worker store i8 -120, i8* %lsb, align 2 10*9880d681SAndroid Build Coastguard Worker ret i32 0 11*9880d681SAndroid Build Coastguard Worker} 12