Go to file
Craig Topper 83dc1c60aa In SimplifyDemandedUseBits, use computeKnownBits directly to handle Constants
Currently we don't explicitly process ConstantDataSequential, ConstantAggregateZero, or ConstantVector, or Undef before applying the Depth limit. Instead they occur after the depth check in the non-instruction path.

For the constant types that we do handle, the code is replicated from computeKnownBits.

This patch fixes the missing constant handling and the reduces the amount of code by just using computeKnownBits directly for any type of Constant.

Differential Revision: https://reviews.llvm.org/D32123

llvm-svn: 300849
2017-04-20 16:14:58 +00:00
clang Delete unused IncompleteFormat variable, NFCi. 2017-04-20 13:37:27 +00:00
clang-tools-extra [clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default. 2017-04-19 14:55:58 +00:00
compiler-rt [scudo] Minor changes and refactoring 2017-04-20 15:11:00 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Disable the filesystem library on Windows by default 2017-04-20 04:24:29 +00:00
libcxxabi [CMake][libcxxabi] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:34 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld [ELF] Always use Script::assignAddresses() 2017-04-19 12:46:32 +00:00
lldb [Utility] Placate another GCC warning. 2017-04-20 14:45:33 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm In SimplifyDemandedUseBits, use computeKnownBits directly to handle Constants 2017-04-20 16:14:58 +00:00
openmp Fix crash in invoking microtask on ios arm64. 2017-04-17 11:58:20 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update isl bindings to latest version (+ Polly extensions) 2017-04-15 08:15:54 +00:00