*** IR Dump At Start ***
; ModuleID = 'two_functions.ll'
source_filename = "two_functions.ll"

define i32 @f(i32 %x) {
  %a = add i32 %x, 0
  %b = mul i32 %a, 2
  ret i32 %b
}

define i32 @g(i32 %x) {
  %y = sub i32 %x, 0
  ret i32 %y
}
*** IR Dump After InstCombinePass on f ***
; ModuleID = 'two_functions.ll'
source_filename = "two_functions.ll"

define i32 @f(i32 %x) {
  %b = shl i32 %x, 1
  ret i32 %b
}

define i32 @g(i32 %x) {
  %y = sub i32 %x, 0
  ret i32 %y
}
*** IR Dump After SimplifyCFGPass on f omitted because no change ***
*** IR Pass PassManager<Function> on f ignored ***
*** IR Dump After InstCombinePass on g ***
; ModuleID = 'two_functions.ll'
source_filename = "two_functions.ll"

define i32 @f(i32 %x) {
  %b = shl i32 %x, 1
  ret i32 %b
}

define i32 @g(i32 %x) {
  ret i32 %x
}
*** IR Dump After SimplifyCFGPass on g omitted because no change ***
*** IR Pass PassManager<Function> on g ignored ***
*** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
*** IR Pass VerifierPass on [module] ignored ***
