craig.topper added a comment.

I'm trying to catch up here. It looks like gcc has only started complaining 
about this from maybe version 7 on? And only as a warning?

The LLVM X86 backend used a 32-bit register for 'r' or 'R' on -m32 for 64-bit 
values. But the backend would fail for 'q' or 'Q' if the frontend check were 
not there.

Weirdly the backend fails for double with 'Q' in 64-bit mode. But does not fail 
with 'q' or 'r' or 'R'.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79804



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D79804: [x86] pre... Nick Desaulniers via Phabricator via cfe-commits
    • [PATCH] D79804: [x86... Craig Topper via Phabricator via cfe-commits

Reply via email to