diff options
| author | Yong He <yonghe@outlook.com> | 2022-12-07 13:42:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-07 13:42:48 -0800 |
| commit | 53e891eb28ceac5f956399c65f2ae27d37f3d724 (patch) | |
| tree | 4094efab488289f7e5ea7ad4dde9d45525ff03be /source/slang/slang-ir-specialize-function-call.cpp | |
| parent | 70714705747f3491c55e14b74f87641010351d6c (diff) | |
Rename IR opcodes to unify style. (#2556)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-specialize-function-call.cpp')
| -rw-r--r-- | source/slang/slang-ir-specialize-function-call.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ir-specialize-function-call.cpp b/source/slang/slang-ir-specialize-function-call.cpp index 12d89f70c..ecbdf9008 100644 --- a/source/slang/slang-ir-specialize-function-call.cpp +++ b/source/slang/slang-ir-specialize-function-call.cpp @@ -38,7 +38,7 @@ bool FunctionCallSpecializeCondition::isParamSuitableForSpecialization(IRParam* // of the indexing operation is also // suitable for specialization. // - if (arg->getOp() == kIROp_getElement || arg->getOp() == kIROp_Load) + if (arg->getOp() == kIROp_GetElement || arg->getOp() == kIROp_Load) { auto base = arg->getOperand(0); @@ -511,7 +511,7 @@ struct FunctionParameterSpecializationContext // ioInfo.key.vals.add(oldGlobalParam); } - else if( oldArg->getOp() == kIROp_getElement ) + else if( oldArg->getOp() == kIROp_GetElement ) { // This is the case where the `oldArg` is // in the form `oldBase[oldIndex]` @@ -632,7 +632,7 @@ struct FunctionParameterSpecializationContext // return globalParam; } - else if( oldArg->getOp() == kIROp_getElement ) + else if( oldArg->getOp() == kIROp_GetElement ) { // This is the case where the argument is // in the form `oldBase[oldIndex]`. |
