[llvm] [TTI][X86][APX] Calculate registers number according to FP or not (PR #154257)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 00:50:42 PDT 2025


================
@@ -132,6 +132,8 @@ class X86TTIImpl final : public BasicTTIImplBase<X86TTIImpl> {
   /// @{
 
   unsigned getNumberOfRegisters(unsigned ClassID) const override;
+  unsigned getRegisterClassForType(bool Vector,
+                                   Type *Ty = nullptr) const override;
----------------
RKSimon wrote:

do we need the default arg value in the override ?

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


More information about the llvm-commits mailing list