David Sherwood
6b694d600a
[LoopVectorize] Change PredicatedBBsAfterVectorization to be per VF
...
When calculating the cost of Instruction::Br in getInstructionCost
we query PredicatedBBsAfterVectorization to see if there is a
scalar predicated block. However, this meant that the decisions
being made for a given fixed-width VF were affecting the cost for a
scalable VF. As a result we were returning InstructionCost::Invalid
pointlessly for a scalable VF that should have a low cost. I
encountered this for some loops when enabling tail-folding for
scalable VFs.
Test added here:
Transforms/LoopVectorize/AArch64/sve-tail-folding-cost.ll
Differential Revision: https://reviews.llvm.org/D128272
2022-07-12 14:53:20 +01:00
..
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-05-23 16:15:45 +01:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-06-17 18:32:50 +08:00
2022-05-23 07:57:45 +00:00
2022-01-24 13:04:09 +00:00
2022-03-07 19:32:37 +03:00
2022-04-04 01:15:30 +02:00
2022-06-17 18:32:50 +08:00
2022-04-04 01:15:30 +02:00
2022-05-23 16:15:45 +01:00
2022-04-04 01:15:30 +02:00
2022-03-31 09:19:31 +01:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-01-24 13:04:09 +00:00
2022-04-04 01:15:30 +02:00
2022-05-23 16:15:45 +01:00
2022-07-04 15:11:39 +01:00
2022-04-04 01:15:30 +02:00
2022-06-01 10:46:06 +02:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-02-22 12:04:35 +00:00
2022-07-11 13:46:55 +01:00
2022-05-25 11:46:32 +01:00
2022-04-04 01:15:30 +02:00
2022-05-23 16:15:45 +01:00
2022-05-23 16:15:45 +01:00
2022-03-07 19:32:37 +03:00
2022-02-07 19:34:28 +00:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-03-07 19:32:37 +03:00
2022-04-04 01:15:30 +02:00
2022-06-17 14:56:21 +01:00
2022-04-04 01:15:30 +02:00
2022-05-20 09:58:40 +01:00
2022-05-20 09:58:40 +01:00
2022-05-20 09:58:40 +01:00
2022-05-20 09:58:40 +01:00
2022-04-04 01:15:30 +02:00
2022-05-26 10:16:21 +01:00
2022-03-07 19:32:37 +03:00
2022-03-13 17:15:24 +00:00
2022-05-23 16:15:45 +01:00
2022-04-04 01:15:30 +02:00
2022-03-13 17:15:24 +00:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-05-22 16:24:13 +01:00
2022-07-11 13:46:55 +01:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-07-12 14:53:20 +01:00
2022-07-11 13:46:55 +01:00
2022-07-11 13:46:55 +01:00
2022-07-11 13:46:55 +01:00
2022-07-11 13:46:55 +01:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00
2022-05-16 15:27:22 +01:00
2022-04-04 01:15:30 +02:00
2022-04-09 14:19:47 +02:00
2022-04-15 17:44:32 -07:00
2022-07-11 13:46:55 +01:00
2022-04-04 01:15:30 +02:00
2022-04-04 01:15:30 +02:00