llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/global_remove_same.ll.expected
raw| 1 | ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py |
| 2 | ; RUN: opt -S < %s | FileCheck %s |
| 3 | |
| 4 | define i32 @foo() { |
| 5 | ; CHECK-LABEL: @foo( |
| 6 | ; CHECK-NEXT: [[RESULT:%.*]] = call i32 @bar(i32 0, i32 1) |
| 7 | ; CHECK-NEXT: ret i32 [[RESULT]] |
| 8 | ; |
| 9 | %result = call i32 @bar(i32 0, i32 1) |
| 10 | ret i32 %result |
| 11 | } |
| 12 | |
| 13 | declare i32 @bar(i32, i32) |