efriedma added a comment.

The part I'm confused about is that you're forcing it to use "*r".  At the IR 
level, LLVM handles something like `call void asm sideeffect "#$0", "r"([8 x 
i64] %c)` fine.  You'll have to do a bit of work to teach clang to emit that, 
but it shouldn't be that hard.  I think you can deal with it on the isel end 
with some relatively small changes to D94097 <https://reviews.llvm.org/D94097>.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94098/new/

https://reviews.llvm.org/D94098

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to