summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-10 20:46:15 +0000
committerOwen Anderson <resistor@mac.com>2009-08-10 20:46:15 +0000
commit3e77df2bcd29918615a3a458fcc47f6481436bf0 (patch)
treea582e825dd83e53e869cc6a67d654b3588c07d73 /llvm/lib/Target/CellSPU/SPUISelLowering.cpp
parentf72c13bdf58a4d07b109c18e58e3851e4de4447e (diff)
downloadbcm5719-llvm-3e77df2bcd29918615a3a458fcc47f6481436bf0.tar.gz
bcm5719-llvm-3e77df2bcd29918615a3a458fcc47f6481436bf0.zip
SimpleValueType-ify a few more methods on TargetLowering.
llvm-svn: 78595
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
index 9540b212b67..5cf9afe0f7f 100644
--- a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
+++ b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
@@ -177,7 +177,7 @@ SPUTargetLowering::SPUTargetLowering(SPUTargetMachine &TM)
setLoadExtAction(ISD::SEXTLOAD, VT, Custom);
for (unsigned stype = sctype - 1; stype >= (unsigned) MVT::i8; --stype) {
- MVT StoreVT = (MVT::SimpleValueType) stype;
+ MVT::SimpleValueType StoreVT = (MVT::SimpleValueType) stype;
setTruncStoreAction(VT, StoreVT, Expand);
}
}
@@ -190,7 +190,7 @@ SPUTargetLowering::SPUTargetLowering(SPUTargetMachine &TM)
setOperationAction(ISD::STORE, VT, Custom);
for (unsigned stype = sctype - 1; stype >= (unsigned) MVT::f32; --stype) {
- MVT StoreVT = (MVT::SimpleValueType) stype;
+ MVT::SimpleValueType StoreVT = (MVT::SimpleValueType) stype;
setTruncStoreAction(VT, StoreVT, Expand);
}
}
OpenPOWER on IntegriCloud