C++: Accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-02-27 13:51:10 +00:00
parent 9eaa4e19ad
commit 4a501e5b3c
8 changed files with 55 additions and 31 deletions

View File

@@ -13350,14 +13350,31 @@ ir.cpp:
# 2197| void vacuous_destructor_call::call_destructor<int>(int&)
# 2197| Block 0
# 2197| v2197_1(void) = EnterFunction :
# 2197| m2197_2(unknown) = AliasedDefinition :
# 2197| m2197_3(unknown) = InitializeNonLocal :
# 2197| m2197_4(unknown) = Chi : total:m2197_2, partial:m2197_3
# 2197| r2197_5(glval<int &>) = VariableAddress[t] :
# 2197| m2197_6(int &) = InitializeParameter[t] : &:r2197_5
# 2197| r2197_7(int &) = Load[t] : &:r2197_5, m2197_6
# 2197| m2197_8(unknown) = InitializeIndirection[t] : &:r2197_7
# 2197| v2197_1(void) = EnterFunction :
# 2197| m2197_2(unknown) = AliasedDefinition :
# 2197| m2197_3(unknown) = InitializeNonLocal :
# 2197| m2197_4(unknown) = Chi : total:m2197_2, partial:m2197_3
# 2197| r2197_5(glval<int &>) = VariableAddress[t] :
# 2197| m2197_6(int &) = InitializeParameter[t] : &:r2197_5
# 2197| r2197_7(int &) = Load[t] : &:r2197_5, m2197_6
# 2197| m2197_8(unknown) = InitializeIndirection[t] : &:r2197_7
# 2198| r2198_1(glval<unknown>) = FunctionAddress[get] :
# 2198| r2198_2(glval<int &>) = VariableAddress[t] :
# 2198| r2198_3(int &) = Load[t] : &:r2198_2, m2197_6
# 2198| r2198_4(glval<int>) = CopyValue : r2198_3
# 2198| r2198_5(int &) = CopyValue : r2198_4
# 2198| r2198_6(int &) = Call[get] : func:r2198_1, 0:r2198_5
# 2198| m2198_7(unknown) = ^CallSideEffect : ~m2197_4
# 2198| m2198_8(unknown) = Chi : total:m2197_4, partial:m2198_7
# 2198| v2198_9(void) = ^BufferReadSideEffect[0] : &:r2198_5, ~m2197_8
# 2198| m2198_10(unknown) = ^BufferMayWriteSideEffect[0] : &:r2198_5
# 2198| m2198_11(unknown) = Chi : total:m2197_8, partial:m2198_10
# 2198| r2198_12(glval<int>) = CopyValue : r2198_6
# 2199| v2199_1(void) = NoOp :
# 2197| v2197_9(void) = ReturnIndirection[t] : &:r2197_7, m2198_11
# 2197| v2197_10(void) = ReturnVoid :
# 2197| v2197_11(void) = AliasedUse : ~m2198_8
# 2197| v2197_12(void) = ExitFunction :
# 2201| void vacuous_destructor_call::non_vacuous_destructor_call()
# 2201| Block 0

View File

@@ -6,7 +6,6 @@ missingOperandType
duplicateChiOperand
sideEffectWithoutPrimary
instructionWithoutSuccessor
| ir.cpp:2197:29:2197:29 | InitializeIndirection: t | Instruction 'InitializeIndirection: t' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
ambiguousSuccessors
unexplainedLoop
unnecessaryPhiInstruction

View File

@@ -6,7 +6,6 @@ missingOperandType
duplicateChiOperand
sideEffectWithoutPrimary
instructionWithoutSuccessor
| ir.cpp:2197:29:2197:29 | InitializeIndirection: t | Instruction 'InitializeIndirection: t' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
ambiguousSuccessors
unexplainedLoop
unnecessaryPhiInstruction

View File

@@ -10834,6 +10834,7 @@
| ir.cpp:2197:10:2197:10 | ChiPartial | partial:m2197_3 |
| ir.cpp:2197:10:2197:10 | ChiTotal | total:m2197_2 |
| ir.cpp:2197:10:2197:10 | ChiTotal | total:m2197_2 |
| ir.cpp:2197:10:2197:10 | SideEffect | ~m2198_8 |
| ir.cpp:2197:10:2197:10 | SideEffect | ~m2198_16 |
| ir.cpp:2197:29:2197:29 | Address | &:r2197_5 |
| ir.cpp:2197:29:2197:29 | Address | &:r2197_5 |
@@ -10842,13 +10843,20 @@
| ir.cpp:2197:29:2197:29 | Address | &:r2197_7 |
| ir.cpp:2197:29:2197:29 | Address | &:r2197_7 |
| ir.cpp:2197:29:2197:29 | Address | &:r2197_7 |
| ir.cpp:2197:29:2197:29 | Address | &:r2197_7 |
| ir.cpp:2197:29:2197:29 | Load | m2197_6 |
| ir.cpp:2197:29:2197:29 | Load | m2197_6 |
| ir.cpp:2197:29:2197:29 | SideEffect | m2198_11 |
| ir.cpp:2197:29:2197:29 | SideEffect | m2198_19 |
| ir.cpp:2198:9:2198:11 | CallTarget | func:r2198_1 |
| ir.cpp:2198:9:2198:11 | CallTarget | func:r2198_1 |
| ir.cpp:2198:9:2198:11 | ChiPartial | partial:m2198_7 |
| ir.cpp:2198:9:2198:11 | ChiPartial | partial:m2198_7 |
| ir.cpp:2198:9:2198:11 | ChiTotal | total:m2197_4 |
| ir.cpp:2198:9:2198:11 | ChiTotal | total:m2197_4 |
| ir.cpp:2198:9:2198:11 | SideEffect | ~m2197_4 |
| ir.cpp:2198:9:2198:11 | SideEffect | ~m2197_4 |
| ir.cpp:2198:9:2198:11 | Unary | r2198_6 |
| ir.cpp:2198:9:2198:11 | Unary | r2198_6 |
| ir.cpp:2198:12:2198:15 | Address | &:r2198_12 |
| ir.cpp:2198:12:2198:15 | Address | &:r2198_12 |
@@ -10856,14 +10864,24 @@
| ir.cpp:2198:12:2198:15 | ChiTotal | total:m2198_11 |
| ir.cpp:2198:12:2198:15 | SideEffect | ~m2198_11 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_2 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_2 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_5 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_5 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_5 |
| ir.cpp:2198:13:2198:13 | Address | &:r2198_5 |
| ir.cpp:2198:13:2198:13 | Arg(0) | 0:r2198_5 |
| ir.cpp:2198:13:2198:13 | Arg(0) | 0:r2198_5 |
| ir.cpp:2198:13:2198:13 | ChiPartial | partial:m2198_10 |
| ir.cpp:2198:13:2198:13 | ChiPartial | partial:m2198_10 |
| ir.cpp:2198:13:2198:13 | ChiTotal | total:m2197_8 |
| ir.cpp:2198:13:2198:13 | ChiTotal | total:m2197_8 |
| ir.cpp:2198:13:2198:13 | Load | m2197_6 |
| ir.cpp:2198:13:2198:13 | Load | m2197_6 |
| ir.cpp:2198:13:2198:13 | SideEffect | ~m2197_8 |
| ir.cpp:2198:13:2198:13 | SideEffect | ~m2197_8 |
| ir.cpp:2198:13:2198:13 | Unary | r2198_3 |
| ir.cpp:2198:13:2198:13 | Unary | r2198_3 |
| ir.cpp:2198:13:2198:13 | Unary | r2198_4 |
| ir.cpp:2198:13:2198:13 | Unary | r2198_4 |
| ir.cpp:2198:16:2198:17 | CallTarget | func:r2198_13 |
| ir.cpp:2198:16:2198:17 | ChiPartial | partial:m2198_15 |

View File

@@ -6,8 +6,6 @@ missingOperandType
duplicateChiOperand
sideEffectWithoutPrimary
instructionWithoutSuccessor
| ir.cpp:2197:29:2197:29 | InitializeIndirection: t | Instruction 'InitializeIndirection: t' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
| ir.cpp:2198:12:2198:15 | CopyValue: (reference dereference) | Instruction 'CopyValue: (reference dereference)' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
ambiguousSuccessors
unexplainedLoop
unnecessaryPhiInstruction
@@ -23,7 +21,6 @@ lostReachability
backEdgeCountMismatch
useNotDominatedByDefinition
| ir.cpp:1488:8:1488:8 | Unary | Operand 'Unary' is not dominated by its definition in function '$@'. | ir.cpp:1488:8:1488:8 | void StructuredBindingDataMemberStruct::StructuredBindingDataMemberStruct() | void StructuredBindingDataMemberStruct::StructuredBindingDataMemberStruct() |
| ir.cpp:2197:29:2197:29 | Address | Operand 'Address' is not dominated by its definition in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
| try_except.c:13:13:13:13 | Left | Operand 'Left' is not dominated by its definition in function '$@'. | try_except.c:6:6:6:6 | void f() | void f() |
| try_except.c:13:13:13:13 | Left | Operand 'Left' is not dominated by its definition in function '$@'. | try_except.c:6:6:6:6 | void f() | void f() |
| try_except.c:39:15:39:15 | Left | Operand 'Left' is not dominated by its definition in function '$@'. | try_except.c:32:6:32:6 | void h(int) | void h(int) |

View File

@@ -12440,15 +12440,13 @@ ir.cpp:
# 2197| void vacuous_destructor_call::call_destructor<int>(int&)
# 2197| Block 0
# 2197| v2197_1(void) = EnterFunction :
# 2197| mu2197_2(unknown) = AliasedDefinition :
# 2197| mu2197_3(unknown) = InitializeNonLocal :
# 2197| r2197_4(glval<int &>) = VariableAddress[t] :
# 2197| mu2197_5(int &) = InitializeParameter[t] : &:r2197_4
# 2197| r2197_6(int &) = Load[t] : &:r2197_4, ~m?
# 2197| mu2197_7(unknown) = InitializeIndirection[t] : &:r2197_6
# 2198| Block 1
# 2197| v2197_1(void) = EnterFunction :
# 2197| mu2197_2(unknown) = AliasedDefinition :
# 2197| mu2197_3(unknown) = InitializeNonLocal :
# 2197| r2197_4(glval<int &>) = VariableAddress[t] :
# 2197| mu2197_5(int &) = InitializeParameter[t] : &:r2197_4
# 2197| r2197_6(int &) = Load[t] : &:r2197_4, ~m?
# 2197| mu2197_7(unknown) = InitializeIndirection[t] : &:r2197_6
# 2198| r2198_1(glval<unknown>) = FunctionAddress[get] :
# 2198| r2198_2(glval<int &>) = VariableAddress[t] :
# 2198| r2198_3(int &) = Load[t] : &:r2198_2, ~m?
@@ -12459,13 +12457,11 @@ ir.cpp:
# 2198| v2198_8(void) = ^BufferReadSideEffect[0] : &:r2198_5, ~m?
# 2198| mu2198_9(unknown) = ^BufferMayWriteSideEffect[0] : &:r2198_5
# 2198| r2198_10(glval<int>) = CopyValue : r2198_6
# 2199| Block 2
# 2199| v2199_1(void) = NoOp :
# 2197| v2197_8(void) = ReturnIndirection[t] : &:r2197_6, ~m?
# 2197| v2197_9(void) = ReturnVoid :
# 2197| v2197_10(void) = AliasedUse : ~m?
# 2197| v2197_11(void) = ExitFunction :
# 2199| v2199_1(void) = NoOp :
# 2197| v2197_8(void) = ReturnIndirection[t] : &:r2197_6, ~m?
# 2197| v2197_9(void) = ReturnVoid :
# 2197| v2197_10(void) = AliasedUse : ~m?
# 2197| v2197_11(void) = ExitFunction :
# 2201| void vacuous_destructor_call::non_vacuous_destructor_call()
# 2201| Block 0

View File

@@ -6,7 +6,6 @@ missingOperandType
duplicateChiOperand
sideEffectWithoutPrimary
instructionWithoutSuccessor
| ir.cpp:2197:29:2197:29 | InitializeIndirection: t | Instruction 'InitializeIndirection: t' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
ambiguousSuccessors
unexplainedLoop
unnecessaryPhiInstruction

View File

@@ -6,7 +6,6 @@ missingOperandType
duplicateChiOperand
sideEffectWithoutPrimary
instructionWithoutSuccessor
| ir.cpp:2197:29:2197:29 | InitializeIndirection: t | Instruction 'InitializeIndirection: t' has no successors in function '$@'. | ir.cpp:2197:10:2197:10 | void vacuous_destructor_call::call_destructor<int>(int&) | void vacuous_destructor_call::call_destructor<int>(int&) |
ambiguousSuccessors
unexplainedLoop
unnecessaryPhiInstruction