diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-10 20:46:15 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-10 20:46:15 +0000 |
commit | d6662add687f20cffa0755e410efbb40de4dcf23 (patch) | |
tree | 9bcd8566d419b29f5d8142b4885d26bd53dd1eb0 /lib/Target/CellSPU | |
parent | e2b861f7d91c09115cd637614b1bc5f5154bce1d (diff) | |
download | llvm-d6662add687f20cffa0755e410efbb40de4dcf23.tar.gz llvm-d6662add687f20cffa0755e410efbb40de4dcf23.tar.bz2 llvm-d6662add687f20cffa0755e410efbb40de4dcf23.tar.xz |
SimpleValueType-ify a few more methods on TargetLowering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index 9540b212b6..5cf9afe0f7 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/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); } } |