1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
Christopher Tetreault 5cf24eb9b3 [SVE] Fix invalid use of VectorType::getNumElements() in PatternMatch
Summary:
Update cst_pred_ty to only work on FixedVectorType. It operates on
integers and integer vectors, and returns true if the predicate returns
true for all elements of the vector. This operation is not possible on
scalable vectors. Make this behavior explicit in the code and document
the fact that it only tests fixed width vectors.

Identified by test LLVM.Transforms/InstCombine::nsw.ll

Reviewers: efriedma, c-rhodes, david-arm, spatel

Reviewed By: david-arm

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79195
2020-05-01 12:35:08 -07:00
..
ADT [IndexedAccessorRange] Only offset the base if the index is non-zero. 2020-05-01 11:56:39 -07:00
Analysis [NFC] Rename *ByValOrInalloca* to *PassPointeeByValue* 2020-04-30 09:42:13 -07:00
AsmParser Parser.h/cpp - cleanup includes and forward declaration. NFC. 2020-04-16 13:15:32 +01:00
BinaryFormat [XCOFF] Clean-up enum use in BinaryFormat/XCOFF.h; NFC 2020-04-30 20:48:30 -04:00
Bitcode Add IR constructs for preallocated (inalloca replacement) 2020-04-27 16:15:50 -07:00
Bitstream
CodeGen Revert rG5c4b4a62256876 "PseudoSourceValue.h - reduce GlobalValue.h include to forward declaration. NFC." 2020-04-29 16:12:19 +01:00
Config [CMake] Delete HAVE_SCHED_GETAFFINITY and HAVE_CPU_COUNT 2020-04-19 08:50:23 -07:00
DebugInfo Make getCompileUnitForAddress public. 2020-04-28 16:51:23 -07:00
Demangle [demangler] PPC and S390: Fix parsing of e-prefixed long double literals 2020-04-15 09:59:06 -04:00
DWARFLinker [DWARFLinker][dsymutil][NFC] Move DwarfStreamer into DWARFLinker. 2020-04-07 21:21:54 +03:00
ExecutionEngine [JITLink] Fix edge removal iterator invalidation. 2020-04-22 14:16:46 -07:00
Frontend/OpenMP [OPENMP50]Basic support for uses_allocators clause. 2020-04-30 16:24:36 -04:00
FuzzMutate
IR [SVE] Fix invalid use of VectorType::getNumElements() in PatternMatch 2020-05-01 12:35:08 -07:00
IRReader IRReader.h - remove unnecessary StringRef forward declaration. NFC. 2020-04-18 12:31:42 +01:00
LineEditor
Linker
LTO Enable new passmanager plugin support for LTO. 2020-04-14 15:07:07 -07:00
MC [AIX] emit .extern and .weak directive linkage 2020-04-30 09:54:10 -04:00
MCA Fix typo in comment 2020-04-09 10:36:00 +01:00
Object [Object] Use BFD name for little-endian PowerPC64 2020-04-19 20:10:05 -07:00
ObjectYAML [ObjectYAML][MachO] Add support for relocations 2020-04-22 11:50:55 -07:00
Option
Passes [llvm][NFC] Factor out inlining pipeline as a module pipeline. 2020-04-24 09:24:12 -07:00
ProfileData Recommit [SampleFDO] Add flag for partial profile. 2020-04-07 14:28:25 -07:00
Remarks Fix a few mismatched iterator types revealed from a libc++ + LLVM_EXPENSIVE_CHECKS build 2020-04-10 10:12:51 -07:00
Support Fix pr31836 on Windows too, and correctly handle repeated separators. 2020-05-01 14:17:01 -04:00
TableGen [TableGen] Delete unused Record::resolveReferencesTo() after D44478. NFC 2020-04-26 01:21:41 -07:00
Target [TableGen] Drop deprecated leading # operation (NOP) and replace ## with # 2020-04-25 16:26:45 -07:00
Testing/Support [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
TextAPI [llvm][TextAPI] adding inlining reexported libraries support 2020-04-02 13:05:08 -07:00
ToolDrivers
Transforms [LoopVersioning] Update setAliasChecks to take ArrayRef argument (NFC). 2020-04-30 22:17:12 +01:00
WindowsManifest
WindowsResource
XRay [XRay] Change Sled.Function to PC-relative for sled version 2 and make llvm-xray support sled version 2 addresses 2020-04-24 14:41:56 -07:00
CMakeLists.txt
InitializePasses.h New pass to make internal linkage symbol names unique. 2020-04-20 15:05:22 -07:00
LinkAllIR.h
LinkAllPasses.h Introduce fix-irreducible pass 2020-04-15 15:05:51 +05:30
module.extern.modulemap
module.install.modulemap
module.modulemap Fix modules build after introduction of PassSupport.h include check 2020-04-27 13:53:44 +02:00
module.modulemap.build
Pass.h Pass.h/cpp - cleanup includes and forward declaration. NFC. 2020-04-16 13:15:31 +01:00
PassAnalysisSupport.h [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00
PassInfo.h
PassRegistry.h
PassSupport.h [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00