llvm-project/llvm/test/CodeGen/Hexagon/calloperand-v2i1.ll
2025-04-11 14:25:50 -05:00

15 lines
295 B
LLVM

;RUN: llc -mtriple=hexagon < %s | FileCheck %s
; Check that v2i1 type is promoted to v2i32.
; CHECK: call f
; CHECK: r{{[0-9]+}}:{{[0-9]+}} = memd(r29+#8)
define <2 x i1> @test(<2 x i1> %1) {
Entry:
%2 = call <2 x i1> @f(<2 x i1> %1)
ret <2 x i1> %2
}
declare <2 x i1> @f(<2 x i1>)