Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll.expected

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --tool llvm-extract
2 ; RUN: llvm-extract -S --func=foo %s | FileCheck --check-prefixes=CHECK %s
3
4 define i32 @foo(i32 %x) {
5 ; CHECK-LABEL: @foo(
6 ; CHECK-NEXT: [[Y:%.*]] = add i32 [[X:%.*]], 1
7 ; CHECK-NEXT: ret i32 [[Y]]
8 ;
9 %y = add i32 %x, 1
10 ret i32 %y
11 }