From b7708ec87fcfaaa1526469bd010cb10f9b9f1495 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 18 Mar 2019 21:21:12 +0000 Subject: [WebAssembly] Don't override default implementation of isOffsetFoldingLegal. NFC. The default implementation does we want and is going to more compatible with dynamic linking (-fPIC) support that is planned. This is NFC because currently we only build wasm with `-relocation-model=static` which in turn means that the default `isOffsetFoldingLegal` always returns true today. Differential Revision: https://reviews.llvm.org/D54661 llvm-svn: 356410 --- llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h') diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h index ee2e863685a..81e85fc8a0c 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h @@ -46,7 +46,6 @@ private: AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *) const override; FastISel *createFastISel(FunctionLoweringInfo &FuncInfo, const TargetLibraryInfo *LibInfo) const override; - bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override; MVT getScalarShiftAmountTy(const DataLayout &DL, EVT) const override; MachineBasicBlock * EmitInstrWithCustomInserter(MachineInstr &MI, -- cgit v1.2.3