Skip to content

Commit 028d41d

Browse files
authored
[Hexagon] Add Hexagon Load Widening Pass (#116330)
Extend existing store widening pass to widen load instructions. This patch also borrows the alias check algorithm from AMDGPU's load store widening pass. Widened load instruction is inserted before the first candidate load instruction. Widened store instruction is inserted after the last candidate store instruction. This method helps avoid moving uses/defs when replacing load/store instructions with their widened equivalents. The pass has also been extended to * Generate 64-bit widened stores * Handle 32-bit post increment load/store * Handle stores of non-immediate values * Handle stores where the offset is a GlobalValue
1 parent 7523086 commit 028d41d

File tree

9 files changed

+1163
-617
lines changed

9 files changed

+1163
-617
lines changed

llvm/lib/Target/Hexagon/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ add_llvm_target(HexagonCodeGen
5959
HexagonSelectionDAGInfo.cpp
6060
HexagonSplitConst32AndConst64.cpp
6161
HexagonSplitDouble.cpp
62-
HexagonStoreWidening.cpp
62+
HexagonLoadStoreWidening.cpp
6363
HexagonSubtarget.cpp
6464
HexagonTargetMachine.cpp
6565
HexagonTargetObjectFile.cpp

0 commit comments

Comments
 (0)