[PATCH] D101538: [GlobalISel][IRTranslator] Make translate() methods virtual.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 19 03:36:56 PDT 2021
foad added a comment.
>> Won't this problem go away when we introduce FP LLTs?
>
> I wouldn't be so sure about that. One particular usecase I need this for is a bitcast between pointer types:
>
> %1 = bitcast i8* %0 to %struct.ST*
>
> In our target they're both of p0 LLTs, so the default method eliminates this instruction while in our target it's necessary to keep it.
What are you going to do when IR switches to opaque pointers? https://llvm.org/docs/OpaquePointers.html
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101538/new/
https://reviews.llvm.org/D101538
More information about the llvm-commits
mailing list