File: 2009-11-13-STRDBug.ll

package info (click to toggle)
llvm-toolchain-7 1%3A7.0.1-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 733,456 kB
  • sloc: cpp: 3,776,651; ansic: 633,271; asm: 350,301; python: 142,716; objc: 107,612; sh: 22,626; lisp: 11,056; perl: 7,999; pascal: 6,742; ml: 5,537; awk: 3,536; makefile: 2,557; cs: 2,027; xml: 841; ruby: 156
file content (20 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; RUN: llc < %s -mtriple=thumbv7-apple-darwin10
; rdar://7394794

define void @lshift_double(i64 %l1, i64 %h1, i64 %count, i32 %prec, i64* nocapture %lv, i64* nocapture %hv, i32 %arith) nounwind {
entry:
  %..i = select i1 false, i64 0, i64 0            ; <i64> [#uses=1]
  br i1 undef, label %bb11.i, label %bb6.i

bb6.i:                                            ; preds = %entry
  %0 = lshr i64 %h1, 0                            ; <i64> [#uses=1]
  store i64 %0, i64* %hv, align 4
  %1 = lshr i64 %l1, 0                            ; <i64> [#uses=1]
  %2 = or i64 0, %1                               ; <i64> [#uses=1]
  store i64 %2, i64* %lv, align 4
  br label %bb11.i

bb11.i:                                           ; preds = %bb6.i, %entry
  store i64 %..i, i64* %lv, align 4
  ret void
}