diff options
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp index feac04a17068..343d90e88950 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp @@ -39,18 +39,18 @@ WebAssemblyInstrInfo::WebAssemblyInstrInfo(const WebAssemblySubtarget &STI) WebAssembly::CATCHRET), RI(STI.getTargetTriple()) {} -bool WebAssemblyInstrInfo::isReallyTriviallyReMaterializable( +bool WebAssemblyInstrInfo::isReMaterializableImpl( const MachineInstr &MI) const { switch (MI.getOpcode()) { case WebAssembly::CONST_I32: case WebAssembly::CONST_I64: case WebAssembly::CONST_F32: case WebAssembly::CONST_F64: - // TargetInstrInfo::isReallyTriviallyReMaterializable misses these + // TargetInstrInfo::isReMaterializableImpl misses these // because of the ARGUMENTS implicit def, so we manualy override it here. return true; default: - return TargetInstrInfo::isReallyTriviallyReMaterializable(MI); + return TargetInstrInfo::isReMaterializableImpl(MI); } } |
