mirror of
https://github.com/RPCSX/SPIRV-Tools.git
synced 2024-11-30 06:40:36 +00:00
Wrap tests needing effcee inside SPIRV_EFFCEE
This commit is contained in:
parent
6e2dab2ffd
commit
9bfe0eb25e
@ -2952,6 +2952,7 @@ OpFunctionEnd
|
||||
EXPECT_NE(loop_2.GetLatchBlock(), loop_2.GetContinueBlock());
|
||||
}
|
||||
|
||||
#ifdef SPIRV_EFFCEE
|
||||
// Test that a loop with a self-referencing OpPhi instruction is handled
|
||||
// correctly.
|
||||
TEST_F(PassClassTest, OpPhiSelfReference) {
|
||||
@ -2997,6 +2998,7 @@ TEST_F(PassClassTest, OpPhiSelfReference) {
|
||||
SinglePassRunAndMatch<opt::LoopUnroller>(text, true, kFullyUnroll,
|
||||
kUnrollFactor);
|
||||
}
|
||||
#endif // SPIRV_EFFCEE
|
||||
|
||||
} // namespace
|
||||
} // namespace opt
|
||||
|
@ -516,7 +516,6 @@ TEST_F(MergeReturnPassTest, UpdateOrderWhenPredicating) {
|
||||
SinglePassRunAndMatch<MergeReturnPass>(before, false);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
TEST_F(MergeReturnPassTest, StructuredControlFlowBothMergeAndHeader) {
|
||||
const std::string test =
|
||||
@ -1020,6 +1019,7 @@ OpFunctionEnd
|
||||
|
||||
SinglePassRunAndMatch<MergeReturnPass>(test, false);
|
||||
}
|
||||
#endif // SPIRV_EFFCEE
|
||||
|
||||
} // namespace
|
||||
} // namespace opt
|
||||
|
Loading…
Reference in New Issue
Block a user