cc08749df2
When `no_builtins` is applied at the crate level, we should add the `no-builtins` attribute to each function to ensure it takes effect in LTO.
6 lines
114 B
Plaintext
6 lines
114 B
Plaintext
CHECK: declare void @foo()
|
|
CHECK-SAME: #[[ATTR_3:[0-9]+]]
|
|
|
|
CHECK: attributes #[[ATTR_3]]
|
|
CHECK-SAME: no-builtins
|