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 | ||
---|---|---|
4155 | Might be overkill but maybe add assert for MaskNumElts == Indices.size() ? |
lib/Analysis/InstructionSimplify.cpp | ||
---|---|---|
4189 | 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() ?