[llvm] [X86] Enable bfloat type support in inline assembly constraints (PR #68469)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 20:40:02 PDT 2023
================
@@ -56903,7 +56903,15 @@ X86TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
case MVT::v8f16:
if (!Subtarget.hasFP16())
break;
- [[fallthrough]];
+ if (VConstraint)
----------------
phoebewang wrote:
Good catch. I intended to drop for FP16 because it implies VLX. But I forgot to add back for BF16 which doesn't.
https://github.com/llvm/llvm-project/pull/68469
More information about the llvm-commits
mailing list