This is a preparatory step for D32338.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with one minor
lib/Analysis/InstructionSimplify.cpp | ||
---|---|---|
4180 | Might be overkill but maybe add assert for MaskNumElts == Indices.size() ? |
lib/Analysis/InstructionSimplify.cpp | ||
---|---|---|
4216–4217 | I think you can use the LLVM version of find() here to reduce C++ ugliness: if (find(Indices, -1) != Indices.end()) |
Might be overkill but maybe add assert for MaskNumElts == Indices.size() ?