1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Transforms
Huihui Zhang d6cea89c53 [InstCombine][SVE] Fix visitExtractElementInst for scalable type.
Summary:
This patch fix the following issues with visitExtractElementInst:

      1. Restrict VectorUtils::findScalarElement to fixed-length vector.
         For scalable type, the number of elements in shuffle mask is
         unknown at compile-time.
      2. Fix out-of-range calculation for fixed-length vector.
      3. Skip scalable type when analysis rely on fixed number of elements.
      4. Add unit tests to check functionality of extractelement for scalable type.

Reviewers: sdesmalen, efriedma, spatel, nikic

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78267
2020-05-07 13:03:52 -07:00
..
AggressiveInstCombine [ConstantFolding] Always return something from ConstantFoldConstant 2020-03-04 18:24:47 +01:00
CFGuard Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Coroutines Remove getNumUses() comparisons (NFC) 2020-05-02 11:05:19 +02:00
Hello
InstCombine [InstCombine][SVE] Fix visitExtractElementInst for scalable type. 2020-05-07 13:03:52 -07:00
Instrumentation [profile] Don't crash when forking in several threads 2020-05-07 14:13:11 +02:00
IPO [Attributor][NFC] Cleanup some AAMemoryLocation code 2020-05-05 23:15:33 -05:00
ObjCARC [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00
Scalar [LoopUnrollAndJam] Changed safety checks to consider more than 2-levels 2020-05-06 21:47:44 +00:00
Utils SplitIndirectBrCriticalEdges: Fix Branch Probability update 2020-05-07 15:31:44 +07:00
Vectorize [SLP] add another bailout for load-combine patterns (2nd try) 2020-05-07 15:04:37 -04:00
CMakeLists.txt
LLVMBuild.txt