Commit 52ec2d3
authored
Add RuntimeLibraryInfo to pass pipeline for LLVM >= 22 (#8892)
llvm/llvm-project#168622 adds a new analysis for
determining what libcalls are supported by a target. We need to add it
to the Halide pass pipeline, otherwise all libcalls are marked
unsupported. This results in some memory libcalls being lowered to loops
instead, which can increase runtime. This manifested for us as timeouts
for the web assembly tests due to the WABT interpreter taking
significantly longer to interpret memset loops versus the libcall.1 parent 23f76e4 commit 52ec2d3
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
393 | 401 | | |
394 | 402 | | |
395 | 403 | | |
| |||
0 commit comments