Materialization a 64-bit constant with High32=Low32 only requires 2 instructions instead of 3 when Low32 can be materialized in 1 instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | ||
|---|---|---|
| 1182–1188 | Can we remove this part? I think it's already been handled. | |
| llvm/test/CodeGen/PowerPC/constants-i64.ll | ||
|---|---|---|
| 427 | Please pre-commit these test cases. | |
| llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | ||
|---|---|---|
| 1182–1188 | Do you mean the case where 3 instructions are needed? | |
Can we remove this part? I think it's already been handled.