[PATCH] D48359: [SLPVectorizer] Use InstructionsState to record AltOpcode
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 20 06:49:14 PDT 2018
ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.
LG except with a nit.
================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:355
/// Some of the instructions in the list have alternate opcodes.
- bool IsAltShuffle = false;
+ bool IsAltShuffle() const { return Opcode != AltOpcode; }
----------------
s/IsAltShuffle/isAltShuffle/g
Repository:
rL LLVM
https://reviews.llvm.org/D48359
More information about the llvm-commits
mailing list