summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-deduplicate.cpp
AgeCommit message (Collapse)Author
2021-02-16Add an accessor for IRInst opcode (#1707)Tim Foley
* Add an accessor for IRInst opcode This main changing is renaming `IRInst::op` over to `IRInst::m_op` and then adds an accessor `IRInst::getOp()` to read it. The rest of the changes are just changing use sites to `getOp` (or to `m_op` in the limited cases where we write to it). This work is in anticipation of a future change that might need to store an extra bit in the same field as the opcode. It seemed better to do this massive refactoring as a separate PR. * fixup
2020-09-14Dynamic dispatch bug fixes. (#1541)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2020-08-14Fix tuple type lowering (#1499)Yong He
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
2020-08-13IR support for Tuple types. (#1492)Yong He
* Tuple types. * Fix x86 warning * Improved deduplication Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>