1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms
Kerry McLaughlin a9d31ba311 [LV] Avoid scalable vectorization for loops containing alloca
This patch returns an Invalid cost from getInstructionCost() for alloca
instructions if the VF is scalable, as otherwise loops which contain
these instructions will crash when attempting to scalarize the alloca.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D105824
2021-07-16 11:47:13 +01:00
..
AggressiveInstCombine
CFGuard
Coroutines [NFC] [Coroutines] Remove unused CoroFree 2021-07-14 19:13:12 +08:00
Hello
InstCombine [InstCombine] Look through invariant group intrinsics when removing malloc 2021-07-15 09:02:40 -07:00
Instrumentation [NFC][hwasan] Remove default arguments in internal class 2021-07-15 15:28:02 -07:00
IPO [Attributor] Add support for compound assignment for ChangeStatus 2021-07-15 23:51:46 -04:00
ObjCARC
Scalar [LSR] Handle case 1*reg => reg. PR50918 2021-07-16 11:33:59 +07:00
Utils [IR] Add elementtype attribute 2021-07-15 18:04:26 +02:00
Vectorize [LV] Avoid scalable vectorization for loops containing alloca 2021-07-16 11:47:13 +01:00
CMakeLists.txt