[clang] [compiler-rt] [llvm] [TargetLowering] Set the default `getCmpLibcallReturnType` to word size (PR #192441)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 05:58:50 PDT 2026


================
@@ -993,11 +993,25 @@ class LLVM_ABI TargetLoweringBase {
   virtual EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
                                  EVT VT) const;
 
+  /// Return the "preferred" register width on this target.
+  virtual unsigned getRegisterWidth(const DataLayout &DL) const {
----------------
arsenm wrote:

This is a bad name; there are many register sizes 

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


More information about the cfe-commits mailing list