Test by Robert Lougher!
Details
Diff Detail
Event Timeline
Minor comments on the code.
Please fold these tests into the existing 256-bit vector shuffle tests and use the same style of file check assertions.
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
7900 | for (;;) { is my preferred spelling of an loop without a condition. | |
7901 | Switch on the opcode rather than an if chain. It makes it much more clear what is going on if we extend this later. Using continue makes it easy to handle the "double break" issue. | |
7908 | dyn_cast, and break if null. that way we only go through the cast machinery once. | |
7913 | I would probably precompute some part of the upper bound into a variable to make the bounds test a bit easier to read. |
for (;;) { is my preferred spelling of an loop without a condition.