15 lines
441 B
LLVM
15 lines
441 B
LLVM
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
|
||
|
; RUN: llc --mtriple=loongarch64 --mattr=+lsx < %s | FileCheck %s
|
||
|
|
||
|
define void @test_w() nounwind {
|
||
|
; CHECK-LABEL: test_w:
|
||
|
; CHECK: # %bb.0: # %entry
|
||
|
; CHECK-NEXT: #APP
|
||
|
; CHECK-NEXT: vldi $vr0, 1
|
||
|
; CHECK-NEXT: #NO_APP
|
||
|
; CHECK-NEXT: ret
|
||
|
entry:
|
||
|
%0 = tail call <2 x i64> asm sideeffect "vldi ${0:w}, 1", "=f"()
|
||
|
ret void
|
||
|
}
|