This is a crude "quick" tentative to remove access to the DataLayout in the TargetMachine.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/Analysis/TargetTransformInfo.h | ||
---|---|---|
680 | Changes like this make the patch harder to read. Can you git-clang-format it? |
include/llvm/Analysis/TargetTransformInfo.h | ||
---|---|---|
680 | I clang-formatted the patch, I assume this is why this particular line is changed (the original line was not clang-formatted). Now there is no reason that git clang-format would create a separate hunk, so I probably had to touch it in an intermediate version. |
This works for me. If you can split out some of the changes into smaller bits that'd be great (the Mangler & -> const Mangler & is the one I noticed).
Thanks for doing this!
-eric
Changes like this make the patch harder to read. Can you git-clang-format it?