diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-09-24 17:20:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-24 17:20:32 -0400 |
| commit | 32c8479fb964b1936564ef9cf68e434500d7b7df (patch) | |
| tree | 533481f95f031141186e71ad5857c3c2ee8f1470 /source/slang/lower-to-ir.cpp | |
| parent | 7250ed1e73351b6f3f72d6a42a90f2878f78b0f8 (diff) | |
Remap IROp value ranges
* Change the layout of IROp such that 'main' IROps are 0-x. (#649)
* Removed MANUAL_RANGE instuction types, as no longer needed.
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
| -rw-r--r-- | source/slang/lower-to-ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp index 8f9335c0a..b0ec6cbf0 100644 --- a/source/slang/lower-to-ir.cpp +++ b/source/slang/lower-to-ir.cpp @@ -623,7 +623,7 @@ LoweredValInfo emitCallToDeclRef( { auto op = getIntrinsicOp(funcDecl, intrinsicOpModifier); - if (Int(op) < 0) + if (isPseudoOp(op)) { switch (op) { |
