llvm-project/llvm/test
Petar Avramovic 2b66d32f3f [MIPS GlobalISel] Select count leading zeros
llvm.ctlz.<type> intrinsic has additional i1 argument is_zero_undef,
it tells whether zero as the first argument produces a defined result.
MIPS clz instruction returns 32 for zero input.
G_CTLZ is generated from llvm.ctlz.<type> (<type> <src>, i1 false)
intrinsics, clang generates these intrinsics from __builtin_clz and
__builtin_clzll.
G_CTLZ_ZERO_UNDEF can also be generated from llvm.ctlz with true as
second argument. It is also traditionally part of and many algorithms
that are now predicated on avoiding zero-value inputs.

Add narrow scalar for G_CTLZ (algorithm uses G_CTLZ_ZERO_UNDEF).
Lower G_CTLZ_ZERO_UNDEF and select G_CTLZ for MIPS32.

Differential Revision: https://reviews.llvm.org/D73214
2020-01-27 09:43:38 +01:00
..
Analysis Revert a107f86 "[GlobalsAA] Add back a check to intrinsic_addresstaken.ll to see if the AVX and AVX512 bots still fail for it." 2020-01-24 13:15:23 -08:00
Assembler [IR] masked gather/scatter alignment should be set 2020-01-26 18:51:36 +01:00
Bindings Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Bitcode [SVE] Pass Scalable argument to VectorType::get in Bitcode Reader 2020-01-22 12:29:25 -08:00
BugPoint
CodeGen [MIPS GlobalISel] Select count leading zeros 2020-01-27 09:43:38 +01:00
DebugInfo Revert "Reland: [DWARF] Allow cross-CU references of subprogram definitions" 2020-01-24 18:07:54 -08:00
Demangle
Examples Re-apply "[Examples] Add IRTransformations directory to examples." 2020-01-04 15:47:23 +00:00
ExecutionEngine [ORC] Add support for emulated TLS to ORCv2. 2020-01-21 19:55:33 -08:00
Feature Mark the test/Feature/load_extension.ll test as unsupported on Darwin. 2020-01-10 20:18:36 -08:00
FileCheck FileCheck [9/12]: Add support for matching formats 2020-01-24 14:15:28 +00:00
Instrumentation [msan] Instrument x86.pclmulqdq* intrinsics. 2020-01-24 14:31:06 -08:00
Integer
JitListener
LTO Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Linker
MC [PowerPC][Future] Add prefixed instruction paddi to future CPU 2020-01-24 07:27:25 -06:00
MachineVerifier Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Object [llvm-readelf] - Improve dumping of objects without a section header string table. 2020-01-24 14:30:03 +03:00
ObjectYAML [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
Other [VectorUtils] Rework the Vector Function Database (VFDatabase). 2020-01-16 15:08:26 +00:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen TableGen/GlobalISel: Handle non-leaf EXTRACT_SUBREG 2020-01-24 12:15:10 -08:00
ThinLTO/X86 Revert "[LTO/WPD] Enable aggressive WPD under LTO option" 2020-01-23 17:29:24 -08:00
Transforms [InstCombine] Add extra shift(c1,add(c2,y)) tests for PR15141 2020-01-26 19:04:12 +00:00
Unit
Verifier Add function attribute "patchable-function-prefix" to support -fpatchable-function-entry=N,M where M>0 2020-01-23 17:02:27 -08:00
YAMLParser
tools [X86][BdVer2] Polish LEA instruction scheduling info 2020-01-26 22:17:27 +03:00
.clang-format
CMakeLists.txt [ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc 2020-01-20 09:19:10 -05:00
TestRunner.sh
lit.cfg.py [test] On Mac, don't try to use result of sysctl command if calling it failed. 2020-01-20 10:04:06 +00:00
lit.site.cfg.py.in Use llvm_canonicalize_cmake_booleans where intended 2020-01-03 15:42:35 +01:00