Go to file
Craig Topper 195dad4264 [SelectionDAG] Don't subject ISD:Constant to the depth limit in TargetLowering::SimplifyDemandedBits.
Summary:
We shouldn't recurse any further but it doesn't mean we shouldn't be able to give the known bits for a constant. The caller would probably like that we always return the right answer for a constant RHS. This matches what InstCombine does in this case.

I don't have a test case because this showed up while trying to revive D31724.

Reviewers: RKSimon, spatel

Reviewed By: RKSimon

Subscribers: arsenm, llvm-commits

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

llvm-svn: 316255
2017-10-21 02:27:19 +00:00
clang [CodeGen] add tests for __builtin_sqrt*; NFC 2017-10-20 23:32:41 +00:00
clang-tools-extra [clang-tidy] Remove MSVC inline assembly test from cross-plat test. 2017-10-20 23:09:20 +00:00
compiler-rt tsan: add tests missed in r316209 2017-10-20 12:10:21 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc amdgcn: Add missing datalayout info to .ll files 2017-10-20 21:10:18 +00:00
libcxx Fix an unsigned integer overflow in regex that lead to a bad memory access. Found by OSS-Fuzz 2017-10-19 22:10:41 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind GNU: do not read the FDE count if omitted 2017-10-20 18:47:35 +00:00
lld Don't call buildSectionOrder multiple times. 2017-10-21 00:05:01 +00:00
lldb lldb-server tests: Propagate environment variables (pr34192) 2017-10-20 22:39:18 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [SelectionDAG] Don't subject ISD:Constant to the depth limit in TargetLowering::SimplifyDemandedBits. 2017-10-21 02:27:19 +00:00
openmp Restrict OMPT to OpenMP version 5.0 and remove old header files 2017-10-20 20:14:46 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Add XFAIL to large-numbers-in-boundary-context.ll 2017-10-16 15:12:39 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.