[llvm] CodeGen: Move DataLayout computation to CodeGenTargetMachineImpl's ctor (PR #224894)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 13:25:41 PDT 2026
================
@@ -264,7 +264,7 @@ HexagonTargetMachine::HexagonTargetMachine(const Target &T, const Triple &TT,
// Specify the vector alignment explicitly. For v512x1, the calculated
// alignment would be 512*alignment(i1), which is 512 bytes, instead of
// the required minimum of 64 bytes.
----------------
kazutakahirata wrote:
May I suggest removing this comment? It is a leftover from when Hexagon's DataLayout string (`...-v512:512:512...`) was hardcoded inline here prior to #157612, and now `TT.computeDataLayout()` is gone too.
```suggestion
```
https://github.com/llvm/llvm-project/pull/224894
More information about the llvm-commits
mailing list