1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/Hexagon/extlow.ll
Krzysztof Parzyszek 66abdd815e [Hexagon] Add more lit tests
llvm-svn: 327271
2018-03-12 14:01:28 +00:00

13 lines
315 B
LLVM

; RUN: llc -march=hexagon -O0 %s -o - | llvm-mc -arch=hexagon -filetype=obj | llvm-objdump -d - | FileCheck %s
; CHECK: immext(#16777216)
; CHECK-NEXT: r0 = add(r0,##16777279)
define void @f0(i32 %a0) {
b0:
%v0 = add i32 16777279, %a0
%v1 = alloca i32, align 4
store i32 %v0, i32* %v1, align 4
ret void
}