Files
clang-p2996/llvm/test/CodeGen/Hexagon/generate-const-buildvector32.ll
Tasmia Rahman e88eb6443f [Hexagon] Fix buildVector32 for v4i8 constants
The code for constructing a 32-bit constant from 4 8-bit constants has
a typo and uses one of the constants twice
2022-01-04 11:19:15 -08:00

12 lines
257 B
LLVM

; RUN: llc -march=hexagon -mtriple=hexagon < %s | FileCheck %s
; CHECK: r{{[0-9]+}} = ##673059850
define dso_local i32 @main() #0 {
entry:
%a = alloca <4 x i8>, align 4
store <4 x i8> <i8 10, i8 20, i8 30, i8 40>, <4 x i8>* %a, align 4
ret i32 0
}