[llvm] [Mips] Fix cttz.i32 fails to lower on mips16 (PR #179633)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 4 03:05:22 PST 2026


================
@@ -727,6 +727,9 @@ class LLVM_ABI TargetLoweringBase {
     return false;
   }
 
+  /// Return true if constant pool can be used for CTTZ expansion.
+  virtual bool canUseConstantPoolForCTTZ() const { return true; }
+
----------------
arsenm wrote:

This doesn't make any sense and is too specific 

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


More information about the llvm-commits mailing list