brintos

brintos / llvm-project-archived public Read only

0
0
Text · 368 B · 7af1e4f Raw
12 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; We shouldn't see a 32-bit expansion of -120, just the uint8 value.3; CHECK: #1364define i32 @foo(ptr %ptr) {5entry:6  %msb = getelementptr inbounds [4 x i8], ptr %ptr, i32 0, i32 37  %lsb = getelementptr inbounds [4 x i8], ptr %ptr, i32 0, i32 28  store i8 0, ptr %msb9  store i8 -120, ptr %lsb, align 210  ret i32 011}12