[X86] Don't allow f80 to be used with the 'q', 'r', 'l', 'Q' or 'q' inline assembly...
authorCraig Topper <craig.topper@gmail.com>
Wed, 13 May 2020 03:59:43 +0000 (20:59 -0700)
committerCraig Topper <craig.topper@gmail.com>
Wed, 13 May 2020 19:19:57 +0000 (12:19 -0700)
commit38e0ab2f3a3dc03acba37efe311c7c0a66665b79
treec01be88c431ce59a4bfb641f728027e84bcb5f0b
parent47985451edeb1a6de560dfcae031093bc5eb0f9f
[X86] Don't allow f80 to be used with the 'q', 'r', 'l', 'Q' or 'q' inline assembly constraints.

It was previously trying to use the 64-bit class, but 80 isn't
evenly divisible by 64 so it will trigger a crash.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/asm-reject-reg-type-mismatch.ll