65816-llvm-mos/patches/0007-targetlowering-virtual-gettypeconversion.patch
Scott Duensing 465f8ba947 Checkpoint
2026-05-05 22:00:34 -05:00

13 lines
766 B
Diff

diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index 7c4c29fc3..7109a79fa 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -1144,7 +1144,7 @@ public:
/// integer register, this contains one step in the expansion to get to the
/// smaller register. For illegal floating point types, this returns the
/// integer type to transform to.
- LegalizeKind getTypeConversion(LLVMContext &Context, EVT VT) const;
+ virtual LegalizeKind getTypeConversion(LLVMContext &Context, EVT VT) const;
/// Return how we should legalize values of this type, either it is already
/// legal (return 'Legal') or we need to promote it to a larger type (return