File: 2009-09-13-InvalidSuperReg.ll

package info (click to toggle)
llvm-toolchain-19 1%3A19.1.7-3~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 1,998,492 kB
  • sloc: cpp: 6,951,680; ansic: 1,486,157; asm: 913,598; python: 232,024; f90: 80,126; objc: 75,281; lisp: 37,276; pascal: 16,990; sh: 10,009; ml: 5,058; perl: 4,724; awk: 3,523; makefile: 3,167; javascript: 2,504; xml: 892; fortran: 664; cs: 573
file content (41 lines) | stat: -rw-r--r-- 1,815 bytes parent folder | download | duplicates (12)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
; RUN: llc -mtriple=arm-eabi -mattr=+neon -mcpu=cortex-a9 %s -o /dev/null

define arm_aapcs_vfpcc <4 x float> @foo(ptr nocapture %pBuffer, i32 %numItems) nounwind {
  %1 = ptrtoint ptr %pBuffer to i32

  %lsr.iv2641 = inttoptr i32 %1 to ptr
  %tmp29 = add i32 %1, 4
  %tmp2930 = inttoptr i32 %tmp29 to ptr
  %tmp31 = add i32 %1, 8
  %tmp3132 = inttoptr i32 %tmp31 to ptr
  %tmp33 = add i32 %1, 12
  %tmp3334 = inttoptr i32 %tmp33 to ptr
  %tmp35 = add i32 %1, 16
  %tmp3536 = inttoptr i32 %tmp35 to ptr
  %tmp37 = add i32 %1, 20
  %tmp3738 = inttoptr i32 %tmp37 to ptr
  %tmp39 = add i32 %1, 24
  %tmp3940 = inttoptr i32 %tmp39 to ptr
  %2 = load float, ptr %lsr.iv2641, align 4
  %3 = load float, ptr %tmp2930, align 4
  %4 = load float, ptr %tmp3132, align 4
  %5 = load float, ptr %tmp3334, align 4
  %6 = load float, ptr %tmp3536, align 4
  %7 = load float, ptr %tmp3738, align 4
  %8 = load float, ptr %tmp3940, align 4
  %9 = insertelement <4 x float> undef, float %6, i32 0
  %10 = shufflevector <4 x float> %9, <4 x float> undef, <4 x i32> zeroinitializer
  %11 = insertelement <4 x float> %10, float %7, i32 1
  %12 = insertelement <4 x float> %11, float %8, i32 2
  %13 = insertelement <4 x float> undef, float %2, i32 0
  %14 = shufflevector <4 x float> %13, <4 x float> undef, <4 x i32> zeroinitializer
  %15 = insertelement <4 x float> %14, float %3, i32 1
  %16 = insertelement <4 x float> %15, float %4, i32 2
  %17 = insertelement <4 x float> %16, float %5, i32 3
  %18 = fsub <4 x float> zeroinitializer, %12
  %19 = shufflevector <4 x float> %18, <4 x float> undef, <4 x i32> zeroinitializer
  %20 = shufflevector <4 x float> %17, <4 x float> undef, <2 x i32> <i32 0, i32 1>
  %21 = shufflevector <2 x float> %20, <2 x float> undef, <4 x i32> <i32 1, i32 1, i32 1, i32 1>

  ret <4 x float> %21
}