diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-15 17:39:39 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-15 17:39:39 +0000 |
| commit | 307954ac69b036c51cdb149d3d699989cc6e648b (patch) | |
| tree | e10b5043c43c907a9014971f99ab66d12007ba33 | |
| parent | 0ad43ca6e521ef2246b71e6be3f3a1701f86c2d1 (diff) | |
| download | bcm5719-llvm-307954ac69b036c51cdb149d3d699989cc6e648b.tar.gz bcm5719-llvm-307954ac69b036c51cdb149d3d699989cc6e648b.zip | |
Make getWidenVectorType const; this file was missed in the
previous commit.
llvm-svn: 62266
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index bbd222285e4..41b43d91671 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -669,7 +669,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(MVT VT, /// If there is no vector type that we want to widen to, returns MVT::Other /// When and where to widen is target dependent based on the cost of /// scalarizing vs using the wider vector type. -MVT TargetLowering::getWidenVectorType(MVT VT) { +MVT TargetLowering::getWidenVectorType(MVT VT) const { assert(VT.isVector()); if (isTypeLegal(VT)) return VT; |

