Fix an off-by-one error which made us not look at the last element of the zero vector. This caused a miscompile on 188.ammp.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D65168  
[AArch64][GlobalISel] Make vector dup optimization look at last elt of ZeroVec ClosedPublic Authored by paquette on Jul 23 2019, 2:34 PM. 
Details Summary Fix an off-by-one error which made us not look at the last element of the zero vector. This caused a miscompile on 188.ammp. 
Diff Detail 
 Event TimelineHerald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls and 2 others.  ·  View Herald Transcript This revision is now accepted and ready to land.Jul 23 2019, 2:37 PM Closed by commit rL366930: [AArch64][GlobalISel] Make vector dup optimization look at last elt of ZeroVec (authored by paquette).  ·  Explain WhyJul 24 2019, 10:18 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 211548 llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
 llvm/trunk/test/CodeGen/AArch64/GlobalISel/opt-shuffle-splat.mir
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||