1 ; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats |& FileCheck %s -check-prefix=STATS
2 ; RUN: llc < %s -mtriple=x86_64-win32 -o /dev/null -stats |& FileCheck %s -check-prefix=STATS
5 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
6 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
7 ; CHECK: leal 1({{%rsi|%rdx}}),
9 define fastcc zeroext i8 @fullGtU(i32 %i1, i32 %i2, i8* %ptr) nounwind optsize {
11 %0 = add i32 %i2, 1 ; <i32> [#uses=1]
12 %1 = sext i32 %0 to i64 ; <i64> [#uses=1]
13 %2 = getelementptr i8* %ptr, i64 %1 ; <i8*> [#uses=1]
14 %3 = load i8* %2, align 1 ; <i8> [#uses=1]
15 %4 = icmp eq i8 0, %3 ; <i1> [#uses=1]
16 br i1 %4, label %bb3, label %bb34
19 %5 = add i32 %i2, 4 ; <i32> [#uses=0]
20 %6 = trunc i32 %5 to i8
23 bb34: ; preds = %entry