aboutsummaryrefslogtreecommitdiff
path: root/source/validate_bitwise.cpp
AgeCommit message (Collapse)Author
2017-11-27Re-format source tree - NFC.Diego Novillo
Re-formatted the source tree with the command: $ /usr/bin/clang-format -style=file -i \ $(find include source tools test utils -name '*.cpp' -or -name '*.h') This required a fix to source/val/decoration.h. It was not including spirv.h, which broke builds when the #include headers were re-ordered by clang-format.
2017-11-08Re-format files in source, source/opt, source/util, source/val and tools.Diego Novillo
NFC. This just makes sure every file is formatted following the formatting definition in .clang-format. Re-formatted with: $ clang-format -i $(find source tools include -name '*.cpp') $ clang-format -i $(find source tools include -name '*.h')
2017-09-29No use to check OpBitCount result widthjcaraban
2017-09-26Add bitwise operations validator passAndrey Tuganov
The pass checks correctness of operand types of all bitwise instructions (opcode range from SpvOpShiftRightLogical to SpvOpBitCount).