; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
; Check that we split named function arguments correctly into a separate CHECK line,
; ensuring the opening parenthesis is on the label name, avoiding incorrect label
; matches if function names are not prefix free.
;
; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
;
define i32 @"foo"(i32 %named) {
; CHECK-LABEL: define i32 @foo(
; CHECK-SAME: i32 [[NAMED:%.*]]) {
; CHECK-NEXT: entry:
; CHECK-NEXT: ret i32 [[NAMED]]
;
entry:
ret i32 %named
}