[PATCH] D26856: [AArch64] Introduce features that will allow only assemblersupport for neon, crypto, fp-armv8 and fullfp16.

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 09:27:36 PST 2016


t.p.northover added a comment.

> If gcc rejects floating point uses we should probably do the same

Possibly, the error message rather suggests that's not the desired behaviour though:

  tmp.c:2:7: sorry, unimplemented: ‘-mgeneral-regs-only’ and floating point code

It's not even got "error:". Might be worth having a chat with Marcus or Richard on the GCC side to see if they have some long-term behaviour in mind.

> What about explicit uses of vector types? Would that be solved because the user wouldn't be able to include arm_neon.h?

I think we support the vector attributes independently of arm_neon.h so they should probably be disallowed too.


https://reviews.llvm.org/D26856





More information about the llvm-commits mailing list