aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorJoe Loser <joeloser@fastmail.com>2023-01-15 21:39:16 -0700
committerJoe Loser <joeloser@fastmail.com>2023-01-16 14:49:37 -0700
commita288d7f937708cf67d960962bfa22ffae37ddbf4 (patch)
tree25e01a0603227ea89a66ec7bbf02944e3f7689c0 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentffd3a19e653f9356ec0be65d4e1c38562573f6c7 (diff)
downloadllvm-a288d7f937708cf67d960962bfa22ffae37ddbf4.zip
llvm-a288d7f937708cf67d960962bfa22ffae37ddbf4.tar.gz
llvm-a288d7f937708cf67d960962bfa22ffae37ddbf4.tar.bz2
[llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides
Similar to how `makeArrayRef` is deprecated in favor of deduction guides, do the same for `makeMutableArrayRef`. Once all of the places in-tree are using the deduction guides for `MutableArrayRef`, we can mark `makeMutableArrayRef` as deprecated. Differential Revision: https://reviews.llvm.org/D141814
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/ExecutionEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
index a2b71d9..2a90b67 100644
--- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -719,7 +719,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) {
APFloat apf = APFloat(APFloat::x87DoubleExtended(), GV.IntVal);
uint64_t v;
bool ignored;
- (void)apf.convertToInteger(makeMutableArrayRef(v), BitWidth,
+ (void)apf.convertToInteger(MutableArrayRef(v), BitWidth,
CE->getOpcode()==Instruction::FPToSI,
APFloat::rmTowardZero, &ignored);
GV.IntVal = v; // endian?