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

7 lines
138 B
LLVM

; RUN: llvm-extract -S --func=foo %s | FileCheck --check-prefixes=CHECK %s
define i32 @foo(i32 %x) {
%y = add i32 %x, 1
ret i32 %y
}