aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-22 05:40:17 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-22 05:40:17 +0000
commitb49f0893b24dae441f8ff309c782705e5e066bd1 (patch)
tree0aa5ba04175daa9f23603038447f856cb8f2aa44 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent46f15d3788ed9040c58e358ae00b474e4d9853f4 (diff)
downloadllvm-b49f0893b24dae441f8ff309c782705e5e066bd1.zip
llvm-b49f0893b24dae441f8ff309c782705e5e066bd1.tar.gz
llvm-b49f0893b24dae441f8ff309c782705e5e066bd1.tar.bz2
[X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type
ISD::isConstantSplatVector can shrink to the smallest splat width. But we don't check the size of the resulting APInt at all. This can cause us to misinterpret the results. This patch just adds a flag to prevent the APInt from changing width. Fixes PR34271. Differential Revision: https://reviews.llvm.org/D36996 llvm-svn: 311429
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions