[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 9 04:52:02 PDT 2023


================
@@ -56904,6 +56904,10 @@ X86TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
         if (!Subtarget.hasFP16())
           break;
         [[fallthrough]];
+      case MVT::v8bf16:
+        if (!Subtarget.hasBF16())
----------------
phoebewang wrote:

Good catch! Repalce fallthrough with return.

https://github.com/llvm/llvm-project/pull/68469


More information about the llvm-commits mailing list