2012-07-02 18:37:59 +00:00
|
|
|
; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs=branch-folder -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs= -o /dev/null 2>&1 | FileCheck %s
|
2012-05-30 00:17:12 +00:00
|
|
|
|
|
|
|
define i64 @foo(i64 %a, i64 %b) nounwind {
|
2014-12-13 04:52:04 +00:00
|
|
|
; CHECK: -branch-folder -machineinstr-printer
|
2012-05-30 00:17:12 +00:00
|
|
|
; CHECK: Control Flow Optimizer
|
|
|
|
; CHECK-NEXT: MachineFunction Printer
|
|
|
|
; CHECK: Machine code for function foo:
|
|
|
|
%c = add i64 %a, %b
|
|
|
|
%d = trunc i64 %c to i32
|
|
|
|
%e = zext i32 %d to i64
|
|
|
|
ret i64 %e
|
|
|
|
}
|