diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-01-29 04:38:19 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-01-29 04:38:19 +0000 |
commit | d15730902bcd0dcdc8c262ef30e470838247c1e4 (patch) | |
tree | caa0c6e0f844a8041343d3c85ef232de48de10e7 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 24cdbe8fa6eb24c9450a022b08f97cbaab7a89e3 (diff) | |
download | llvm-d15730902bcd0dcdc8c262ef30e470838247c1e4.zip llvm-d15730902bcd0dcdc8c262ef30e470838247c1e4.tar.gz llvm-d15730902bcd0dcdc8c262ef30e470838247c1e4.tar.bz2 |
[DAGCombiner] Remove unnecessary check on the size of the type of the index of EXTRACT_SUBVECTOR.
The type system already requires that the number of vector elements must fit in 32-bits so an index should as well. Even if the type of the index were larger all we care about is that the constant index can fit in 64-bits so that we can call getZExtValue.
llvm-svn: 293413
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions