Commit c41bd25
Disable partial overwrite tracking in LLVM 14 DSE via a patch
Starting from LLVM 14, Dead Store Elimination pass tends to perform
`llvm.memset` shortening more often, and upon `memset` resolution, the
resulting "extra" GEP to i8* cannot be consumed by our GEP lowering
optimizations. Bypassing this behavior through an LLVM flag lets our memory
optimizations produce the
Long-term, we should try teaching our `LowerGEPForPrivMem` pass to understand
these shortening sequences and investigate if this partial shortening by DSE
could bring even more performance benefits.
(cherry picked from commit fe18a1b)1 parent 5214d39 commit c41bd25
File tree
1 file changed
+43
-0
lines changed- external/llvm/releases/14.0.0/patches_external
1 file changed
+43
-0
lines changedLines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments