Splats are fewer bytes than v128.consts, so use them when either could
apply.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D51179  
[WebAssembly] Prioritize splats over v128.consts ClosedPublic Authored by tlively on Aug 23 2018, 12:17 PM. 
Details Summary Splats are fewer bytes than v128.consts, so use them when either could 
Diff Detail 
 Event TimelineHerald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100.  ·  View Herald TranscriptAug 23 2018, 12:17 PM This revision is now accepted and ready to land.Aug 23 2018, 12:21 PM Closed by commit rL340569: [WebAssembly] Prioritize splats over v128.consts (authored by tlively).  ·  Explain WhyAug 23 2018, 12:24 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 162248 llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
 llvm/trunk/test/CodeGen/WebAssembly/simd.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||