File: fake-use-vector2.ll

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,236,516 kB
  • sloc: cpp: 7,619,569; ansic: 1,433,956; asm: 1,058,748; python: 252,181; f90: 94,671; objc: 70,753; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,585; awk: 3,523; javascript: 2,272; xml: 892; fortran: 770
file content (27 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -filetype=asm -o - %s | FileCheck %s
;
; Make sure we can split vectors that are used as operands of FAKE_USE.

; Generated from:
;
; typedef long __attribute__((ext_vector_type(8))) long8;
; void test0() { long8 id208 {0, 1, 2, 3, 4, 5, 6, 7}; }

; ModuleID = 't5.cpp'
source_filename = "t5.cpp"


; CHECK:     %0:vr256 = VMOV
; CHECK:     %1:vr256 = VMOV
; CHECK-DAG: FAKE_USE killed %1
; CHECK-DAG: FAKE_USE killed %0
; CHECK:     RET
define void @_Z5test0v() local_unnamed_addr #0 {
entry:
  tail call void (...) @llvm.fake.use(<8 x i64> <i64 0, i64 1, i64 2, i64 3, i64 4, i64 5, i64 6, i64 7>) #1
  ret void
}

declare void @llvm.fake.use(...)

attributes #0 = { "target-cpu"="btver2" optdebug }