Fix "[llvm/CodeGen] Enable the ExpandLargeDivRem pass for X86, Arm and AArch64" compi...
authorMatthias Gehre <matthias.gehre@xilinx.com>
Tue, 6 Sep 2022 14:55:28 +0000 (15:55 +0100)
committerMatthias Gehre <matthias.gehre@xilinx.com>
Tue, 6 Sep 2022 15:11:14 +0000 (16:11 +0100)
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

index 487a439..b744146 100644 (file)
@@ -291,7 +291,7 @@ public:
 
   bool hasDivRemOp(Type *DataType, bool IsSigned) const { return false; }
 
-  bool maxLegalDivRemBitWidth() const {
+  unsigned maxLegalDivRemBitWidth() const {
     return llvm::IntegerType::MAX_INT_BITS;
   }