File: 2009-05-30-ISelBug.ll

package info (click to toggle)
llvm-toolchain-7 1%3A7.0.1-8~deb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • 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 (28 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (6)
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
; RUN: llc < %s -mtriple=x86_64-- | not grep "movzbl	%[abcd]h,"

define void @BZ2_bzDecompress_bb5_2E_outer_bb35_2E_i_bb54_2E_i(i32*, i32 %c_nblock_used.2.i, i32 %.reload51, i32* %.out, i32* %.out1, i32* %.out2, i32* %.out3) nounwind {
newFuncRoot:
	br label %bb54.i

bb35.i.backedge.exitStub:		; preds = %bb54.i
	store i32 %6, i32* %.out
	store i32 %10, i32* %.out1
	store i32 %11, i32* %.out2
	store i32 %12, i32* %.out3
	ret void

bb54.i:		; preds = %newFuncRoot
	%1 = zext i32 %.reload51 to i64		; <i64> [#uses=1]
	%2 = getelementptr i32, i32* %0, i64 %1		; <i32*> [#uses=1]
	%3 = load i32, i32* %2, align 4		; <i32> [#uses=2]
	%4 = lshr i32 %3, 8		; <i32> [#uses=1]
	%5 = and i32 %3, 255		; <i32> [#uses=1]
	%6 = add i32 %5, 4		; <i32> [#uses=1]
	%7 = zext i32 %4 to i64		; <i64> [#uses=1]
	%8 = getelementptr i32, i32* %0, i64 %7		; <i32*> [#uses=1]
	%9 = load i32, i32* %8, align 4		; <i32> [#uses=2]
	%10 = and i32 %9, 255		; <i32> [#uses=1]
	%11 = lshr i32 %9, 8		; <i32> [#uses=1]
	%12 = add i32 %c_nblock_used.2.i, 5		; <i32> [#uses=1]
	br label %bb35.i.backedge.exitStub
}