[PATCH] D95444: Allow GNU inline asm using target-specific dialect variant
Ulrich Weigand via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 10:02:13 PST 2021
uweigand added a comment.
In D95444#2548879 <https://reviews.llvm.org/D95444#2548879>, @anirudhp wrote:
> In D95444#2548271 <https://reviews.llvm.org/D95444#2548271>, @uweigand wrote:
>
>> At least for our use case, this is not relevant. We want to use the "GCC style asm" whenever compiling for the z/OS target, and the "HLASM style asm" whenever compiling for the Linux target. These are incompatible anyway (different ABI, different target OS), so they cannot be combined using LTO. We simply need to use asm dialects since both targets are implemented in a single SystemZ back-end. (While the OS and ABI are different, the **ISA** is of course the same, so it does not make sense to use a different back-end.)
>
> @uweigand, its the other way right? We want to use the "GNU style asm" when compiling for the Linux target (on the Z backend) and use the "HLASM style asm" when compiling for the z/OS target (on the Z backend).
Ah, of course, thanks for catching this. The rest of the argument remains unchanged, though :-)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95444/new/
https://reviews.llvm.org/D95444
More information about the llvm-commits
mailing list