Commit f289928
Automerge: [DAG] Always use stack to promote bitcast when the source is vector (#151065)
The optimization introduced by #125637 tried to avoid using stacks to
promote bitcast with vector result type. However, it wouldn't be correct
if the input type is vector. This patch limits that optimizations to
only scalar to vector bitcasts.File tree
12 files changed
+4642
-929
lines changed- llvm
- lib/CodeGen/SelectionDAG
- test/CodeGen
- AMDGPU
- RISCV/rvv
12 files changed
+4642
-929
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
2221 | | - | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
2222 | 2223 | | |
2223 | 2224 | | |
2224 | 2225 | | |
| |||
Large diffs are not rendered by default.
0 commit comments