================
@@ -959,6 +959,9 @@ CompilerType 
TypeSystemClang::GetBuiltinTypeForDWARFEncodingAndBitSize(
     if (type_name == "long double" &&
         QualTypeMatchesBitSize(bit_size, ast, ast.LongDoubleTy))
       return GetType(ast.LongDoubleTy);
+    if (type_name == "__bf16" &&
----------------
tgs-sc wrote:

Don't you think there is an error in the test?

Test:
```
Foo<_Float16, _Float16(1.0)> temp7;
Foo<__bf16, __bf16(1.0)> temp8;
```

Check:
```
        value = self.expect_expr("temp8", result_type="Foo<__fp16, __fp16>")
        self.assertFalse(value.GetType().GetTemplateArgumentValue(target, 1))
```

Current output:
```
  AssertionError: 'Foo<__fp16, __fp16>' != 'Foo<__bf16, __bf16>'
  - Foo<__fp16, __fp16>
  ?        -       -
  + Foo<__bf16, __bf16>
  ?       +       +
  ```

https://github.com/llvm/llvm-project/pull/154123
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to