File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ typedef enum {
93
93
#define IsStage1FastestCompile (flag, prev_ctx_ptr ) (!IsStage2RestSIMDs(prev_ctx_ptr) && flag == FLAG_CG_STAGE1_FASTEST_COMPILE)
94
94
#define IsStage1BestPerf (flag, prev_ctx_ptr ) (!IsStage2RestSIMDs(prev_ctx_ptr) && flag == FLAG_CG_STAGE1_BEST_PERF)
95
95
#define IsAllSIMDs (flag, prev_ctx_ptr ) (!IsStage2RestSIMDs(prev_ctx_ptr) && flag == FLAG_CG_ALL_SIMDS)
96
- #define IsStage1 (pCtx ) (IsStage1BestPerf(pCtx->m_CgFlag, pCtx->m_StagingCtx) || \
96
+ #define IsStagingContextStage1 (pCtx ) (IsStage1BestPerf(pCtx->m_CgFlag, pCtx->m_StagingCtx) || \
97
97
IsStage1FastCompile (pCtx->m_CgFlag, pCtx->m_StagingCtx))
98
+ #define IsStage1 (pCtx ) (IsStagingContextStage1(pCtx) || \
99
+ IsStage1FastestCompile (pCtx->m_CgFlag, pCtx->m_StagingCtx))
98
100
#define HasSavedIR (pCtx ) (pCtx && IsStage2RestSIMDs(pCtx->m_StagingCtx) && \
99
101
pCtx->m_StagingCtx->m_savedBitcodeCharArraySize > 0 )
100
102
You can’t perform that action at this time.
0 commit comments