File: swp-order-deps5.ll

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 995,836 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (29 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (14)
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
; RUN: llc -march=hexagon -hexagon-bit=0 < %s
; REQUIRES: asserts

; Function Attrs: nounwind
define void @f0() local_unnamed_addr #0 {
b0:
  br label %b1

b1:                                               ; preds = %b1, %b0
  %v0 = phi i32 [ 1, %b0 ], [ %v9, %b1 ]
  %v1 = phi i64 [ 0, %b0 ], [ %v10, %b1 ]
  %v2 = load i32, i32* undef, align 4
  %v3 = sub nsw i32 0, %v2
  %v4 = select i1 undef, i32 undef, i32 %v3
  %v5 = sext i32 %v4 to i64
  %v6 = mul nsw i64 %v5, %v5
  %v7 = or i64 %v1, 0
  %v8 = add i64 %v6, %v7
  %v9 = add nuw nsw i32 %v0, 1
  %v10 = and i64 %v8, -4294967296
  %v11 = icmp ult i32 %v9, undef
  br i1 %v11, label %b1, label %b2

b2:                                               ; preds = %b1
  %v12 = sdiv i64 %v8, undef
  ret void
}

attributes #0 = { nounwind "target-cpu"="hexagonv62" }