Commit 0c5077e
committed
Enable inlining for dlp_execute_kernel with llvm19<O
Add always_inline to dlp_execute_kernel to ensure it is inlined when
building with llvm19<O. 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 0c5077e
1 file changed
Lines changed: 11 additions & 0 deletions
Lines changed: 11 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 | + | |
| 251 | + | |
| 252 | + | |
242 | 253 | | |
243 | 254 | | |
244 | 255 | | |
| |||
0 commit comments