aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-12-13 09:09:20 -0800
committerGitHub <noreply@github.com>2024-12-13 09:09:20 -0800
commit0d9fc1743378c73012828698122c46dc580d29eb (patch)
treeb6876ec7c2bd04db9515cac592d0b4435a04fa54 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent939c94bbb4731aa1c7dda47b0e4497a82ae6f46a (diff)
downloadllvm-0d9fc1743378c73012828698122c46dc580d29eb.zip
llvm-0d9fc1743378c73012828698122c46dc580d29eb.tar.gz
llvm-0d9fc1743378c73012828698122c46dc580d29eb.tar.bz2
[GISel] Remove unused DataLayout operand from getApproximateEVTForLLT (#119833)
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 9dc2701..3b0e9c7 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -1750,7 +1750,7 @@ bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
const DataLayout &DL, LLT Ty,
const MachineMemOperand &MMO,
unsigned *Fast) const {
- EVT VT = getApproximateEVTForLLT(Ty, DL, Context);
+ EVT VT = getApproximateEVTForLLT(Ty, Context);
return allowsMemoryAccess(Context, DL, VT, MMO.getAddrSpace(), MMO.getAlign(),
MMO.getFlags(), Fast);
}