llvm-project/llvm/lib
Thomas Lively f0f9787646 [WebAssembly] Lower vselect to v128.bitselect
We were previously expanding vselect and matching on the expansion to
generate bitselects, but in some cases the expansion would be further
combined and a bitselect would not get generated. This patch improves
codegen in those cases by legalizing vselect and lowering it to
v128.bitselect. The old pattern that matches the expansion is still
useful for lowering IR that already uses the expansion rather than a
select operation.

Differential Revision: https://reviews.llvm.org/D83734
2020-07-16 11:11:19 -07:00
..
Analysis IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref 2020-07-16 13:50:49 -04:00
AsmParser Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
BinaryFormat AMDGPU: Remove .value_type from kernel metadata 2020-07-10 18:16:31 -04:00
Bitcode Temporarily revert "[NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD)" 2020-07-10 15:21:00 -07:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen DAG: Try scalarizing when expanding saturating add/sub 2020-07-16 14:05:16 -04:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
DebugInfo [DebugInfo] Fix a possible crash when reading a malformed .debug_*lists section. 2020-07-14 16:35:17 +07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
ExecutionEngine [jitlink] Adding support for PCRel32GOTLoad in ELF x86 for the jitlinker 2020-07-16 07:15:08 +10:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [OpenMP][IRBuilder] Support nested parallel regions 2020-07-14 22:39:06 -05:00
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
Fuzzer
IR Use findEnumAttribute helper for preallocated 2020-07-16 13:50:49 -04:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LTO Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
LineEditor
Linker [SVE] Eliminate calls to default-false VectorType::get() from Linker 2020-05-29 17:43:15 -07:00
MC [MasmParser] Remove unused method emitStructValue to silence warning 2020-07-16 09:36:17 +02:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object [WebAssembly] 64-bit memory limits 2020-07-06 12:40:45 -07:00
ObjectYAML [DWARFYAML] Implement the .debug_str_offsets section. 2020-07-16 22:33:13 +08:00
Option
Passes [NPM][IVUsers] Rename ivusers -> iv-users 2020-07-15 09:38:21 -07:00
ProfileData [PGO] Extend the value profile buckets for mem op sizes. 2020-07-15 10:26:15 -07:00
Remarks YAMLRemarkParser.cpp - remove duplicate RemarkParser.h include. NFC. 2020-06-08 13:59:05 +01:00
Support [Support] Fix Windows directory_iterator_construct out of bounds 2020-07-15 10:13:45 +01:00
TableGen Fix ubsan error in tblgen with signed left shift 2020-06-16 11:15:09 -07:00
Target [WebAssembly] Lower vselect to v128.bitselect 2020-07-16 11:11:19 -07:00
Testing
TextAPI [TextAPI/MachO] Fix style issues. NFC 2020-06-24 14:43:45 -07:00
ToolDrivers [COFF] Use Expected in COFFObjectFile creation 2020-05-08 14:22:28 -07:00
Transforms IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref 2020-07-16 13:50:49 -04:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00