[PATCH] D37665: [SelectionDAG] Teach simplifyDemandedBits to handle shifts by constant splat vectors
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 11:55:06 PDT 2017
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: lib/Target/ARM/ARMInstrNEON.td:5537
+def : Pat<(v2i64 (NEONvshl (anyext (v2i32 DPR:$Rn)), (i32 32))),
+ (VSHLLi32 DPR:$Rn, 32)>;
----------------
I guess the zext/sext patterns will still trigger if the value has multiple uses...?
This looks fine.
https://reviews.llvm.org/D37665
More information about the llvm-commits
mailing list