llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Kazushi (Jam) Marukawa (jam7)

<details>
<summary>Changes</summary>

Add hasBitIntType() override returning true in VETargetInfo in
order to enable _BitInt for VE.  This enables `_BitInt(N)` type
support for the VE target.

---
Full diff: https://github.com/llvm/llvm-project/pull/186587.diff


1 Files Affected:

- (modified) clang/lib/Basic/Targets/VE.h (+2) 


``````````diff
diff --git a/clang/lib/Basic/Targets/VE.h b/clang/lib/Basic/Targets/VE.h
index b518407d34438..17ea07541420f 100644
--- a/clang/lib/Basic/Targets/VE.h
+++ b/clang/lib/Basic/Targets/VE.h
@@ -53,6 +53,8 @@ class LLVM_LIBRARY_VISIBILITY VETargetInfo : public 
TargetInfo {
 
   bool hasSjLjLowering() const override { return true; }
 
+  bool hasBitIntType() const override { return true; }
+
   llvm::SmallVector<Builtin::InfosShard> getTargetBuiltins() const override;
 
   BuiltinVaListKind getBuiltinVaListKind() const override {

``````````

</details>


https://github.com/llvm/llvm-project/pull/186587
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to