Commit 6f12fd1
committed
Enable inlining for dlp_execute_kernel with LTO
Add always_inline to dlp_execute_kernel to ensure it is inlined when
building with LTO. With LLVM 19, this attribute only takes effect under
LTO; in non-LTO builds, inlining is not guaranteed. This improves
performance for tiny shapes.1 parent 1956162 commit 6f12fd1
1 file changed
Lines changed: 9 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
242 | 251 | | |
243 | 252 | | |
244 | 253 | | |
| |||
0 commit comments