This patch is pretty simple, it just adds the necessary pointer handling to AArch64FastISel.cpp so that it can be used on arm64_32.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
A question and a nit to get it started.
+ Amara, Jessica, Francis.
llvm/lib/Target/AArch64/AArch64FastISel.cpp | ||
---|---|---|
1206 | Should that check be before the canonicalizations above? | |
2133 | if (Subtarget->isTargetILP32() && ....), then delete the assert. Maybe create a function/lambda? See below. | |
2210 | only if subtarget is ilp32 ... |
Ups, I removed the original reviewers?! Please add anyone else I missed. I only remember Kristof. Sorry for this nuisance!
-Gerolf
I don't have much knowledge in this part of the code, but everything looks good to me. Maybe add a simple comment at the top of the file with an overview of what was needed to add support for ILP32 (maybe pointing out that it consists of using ands, extractsubregs, etc.) ?
Should that check be before the canonicalizations above?