Add missing branch instructions in SSA tests

This commit is contained in:
Umar Arshad 2016-01-14 09:48:29 -05:00
parent 74a731add4
commit fa3b878119

View File

@ -381,6 +381,7 @@ TEST_F(Validate, ForwardBranchConditionalGood) {
OpBranch %endl
%falsel = OpLabel
OpNop
OpBranch %endl
%endl = OpLabel
OpReturn
OpFunctionEnd
@ -405,6 +406,7 @@ TEST_F(Validate, ForwardBranchConditionalWithWeightsGood) {
OpBranch %endl
%falsel = OpLabel
OpNop
OpBranch %endl
%endl = OpLabel
OpReturn
OpFunctionEnd
@ -430,6 +432,7 @@ TEST_F(Validate, ForwardBranchConditionalNonDominantConditionBad) {
OpBranch %endl
%falsel = OpLabel
OpNop
OpBranch %endl
%endl = OpLabel
%tcpy = OpCopyObject %boolt %true
OpReturn
@ -457,6 +460,7 @@ TEST_F(Validate, ForwardBranchConditionalMissingTargetBad) {
OpBranch %endl
%falsel = OpLabel
OpNop
OpBranch %endl
%endl = OpLabel
OpReturn
OpFunctionEnd