Aiden Grossman f513f44bc6
[Inline] Remove redundant run lines in tests (#179959)
625038d5d5f406385f44983ac2a442b20ad7b241 added NewPM CGSCC coverage to
all of the inliner tests. Now that the NewPM is the default for the
middle end, both check lines cover the same thing (with -passes="inline"
expanding to -passes="cgscc(inline)"). Given that, remove them to get
rid of the redundancy and make the tests run slightly faster (not
measured).
2026-02-05 07:54:37 -08:00

35 lines
712 B
LLVM

; RUN: opt < %s -mtriple=arm-unknown-linux-gnu -S -passes=inline | FileCheck %s
declare i32 @foo(...) #0
define i32 @callee() #0 {
entry:
%call = call i32 (...) @foo()
ret i32 %call
}
define i32 @dotcallee() #1 {
entry:
%call = call i32 (...) @foo()
ret i32 %call
}
define i32 @dotcaller() #1 {
entry:
%call = call i32 @callee()
ret i32 %call
; CHECK-LABEL: dotcaller
; CHECK: call i32 (...) @foo()
}
define i32 @caller() #0 {
entry:
%call = call i32 @dotcallee()
ret i32 %call
; CHECK-LABEL: caller
; CHECK: call i32 @dotcallee()
}
attributes #0 = { "target-cpu"="generic" "target-features"="+dsp,+neon" }
attributes #1 = { "target-cpu"="generic" "target-features"="+dsp,+neon,+dotprod" }