aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-25 23:00:45 +0000
committerChris Lattner <sabre@nondot.org>2010-08-25 23:00:45 +0000
commitaafe626c7fa9f99150cccd27d0151a2cf7c8c00b (patch)
treedae7cdcfc6e656584c51ad82ca5a39b56975eb2a /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parente6f7c267df11a44679c35dec79787fbc276839fb (diff)
downloadexternal_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.zip
external_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.tar.gz
external_llvm-aafe626c7fa9f99150cccd27d0151a2cf7c8c00b.tar.bz2
remove some llvmcontext arguments that are now dead post-refactoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 077fd1d..b74f600 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -869,7 +869,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
// If there is a wider vector type with the same element type as this one,
// we should widen to that legal vector type. This handles things like
// <2 x float> -> <4 x float>.
- if (NumElts != 1 && getTypeAction(Context, VT) == Promote) {
+ if (NumElts != 1 && getTypeAction(VT) == Promote) {
RegisterVT = getTypeToTransformTo(Context, VT);
if (isTypeLegal(RegisterVT)) {
IntermediateVT = RegisterVT;