llvm-project/llvm/test
Craig Topper 6b1b630a98 [SelectionDAG] Use known ones to provide a better bound for the known zeros for CTTZ/CTLZ operations.
This is the SelectionDAG version of D32521. If know where at least one 1 is located in the input to these intrinsics we can place an upper bound on the number of bits needed to represent the count and thus increase the number of known zeros in the output.

I think we can also refine this further for CTTZ_UNDEF/CTLZ_UNDEF by assuming that the answer will never be BitWidth. I've left this out for now because it caused other test failures across multiple targets. Usually because of turning ADD into OR based on this new information.

I'll fix CTPOP in a future patch.

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

llvm-svn: 301806
2017-05-01 16:08:06 +00:00
..
Analysis Rename isKnownNotFullPoison to programUndefinedIfPoison; NFC 2017-04-30 19:41:19 +00:00
Assembler Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
Bindings
Bitcode Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
BugPoint llvm/test/BugPoint/compile-custom.ll: Use %/s for its path not to be mis-escaped. 2017-04-13 11:40:32 +00:00
CodeGen [SelectionDAG] Use known ones to provide a better bound for the known zeros for CTTZ/CTLZ operations. 2017-05-01 16:08:06 +00:00
DebugInfo [llvm-pdbdump] Abstract some of the YAML/Raw printing code. 2017-04-29 01:13:21 +00:00
Examples
ExecutionEngine
Feature Disable GVN Hoist due to still more bugs being found in it. There is 2017-04-27 00:28:03 +00:00
FileCheck [FileCheck] Added --enable-var-scope option to enable scope for regex variables. 2017-03-09 17:59:04 +00:00
Instrumentation [asan] Fix dead stripping of globals on Linux. 2017-04-27 20:27:27 +00:00
Integer
JitListener
LTO LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
LibDriver
Linker Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
MC Fix test for altmacro 2017-05-01 14:00:54 +00:00
Object [llvm-ar] errors go on stderr and not on stdout. 2017-04-05 14:52:17 +00:00
ObjectYAML [WebAssembly] Allow for signed relocation addends 2017-04-26 00:02:31 +00:00
Other Disable GVN Hoist due to still more bugs being found in it. There is 2017-04-27 00:28:03 +00:00
SymbolRewriter
TableGen [globalisel][tablegen] Fix the test after silencing the unused variable warning in r301755. 2017-04-29 19:46:27 +00:00
ThinLTO/X86 Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
Transforms [JumpThread] Do RAUW in case Cond folds to a constant in the CFG 2017-05-01 15:34:17 +00:00
Unit
Verifier Add speculatable function attribute 2017-04-28 20:25:27 +00:00
YAMLParser
tools [WebAssembly] Write initial memory in pages not bytes 2017-04-28 21:12:09 +00:00
.clang-format
CMakeLists.txt Add a dependency from llvm/test to llvm-cvtres. 2017-04-21 20:45:11 +00:00
TestRunner.sh
lit.cfg
lit.site.cfg.in