[PATCH] D81517: Extend or truncate __ptr32/__ptr64 pointers when dereferenced.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 15:02:06 PDT 2020
craig.topper added a comment.
Part of me thinks we should just rewrite the loads/stores as early as possible using combineLoad/combineStore to use a ADDRSPACECAST. Then let the existing legalization of ADDRSPACECAST take care of it. And not change the setOperationAction for loads/store. I get a little nervous that something somewhere will care if an i32 load is Custom instead of Legal.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81517/new/
https://reviews.llvm.org/D81517
More information about the llvm-commits
mailing list