We needn't BFI each lane individually into a predicate register when each lane in the same. A simple sign extend and a vmsr will do it.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D67653  
[ARM] MVE i1 splat ClosedPublic Authored by dmgreen on Sep 17 2019, 4:36 AM. 
Details Summary We needn't BFI each lane individually into a predicate register when each lane in the same. A simple sign extend and a vmsr will do it. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 17 2019, 11:57 PM Closed by commit rG0cfb78e52af2: [ARM] MVE i1 splat (authored by dmgreen).  ·  Explain WhySep 19 2019, 5:22 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 220471 llvm/lib/Target/ARM/ARMISelLowering.cpp
 
 llvm/test/CodeGen/Thumb2/mve-pred-build-var.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||