Skip to content

Commit

Permalink
Merge pull request #12861 from MathiasVP/ignore-more-instructions-for…
Browse files Browse the repository at this point in the history
…-dataflow

C++: Ignore a few more instructions in dataflow
  • Loading branch information
MathiasVP authored Apr 18, 2023
2 parents fb1a871 + 6e5f09f commit 9aca2d8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,17 @@ predicate ignoreOperand(Operand operand) {
predicate ignoreInstruction(Instruction instr) {
DataFlowImplCommon::forceCachingInSameStage() and
(
instr instanceof CallSideEffectInstruction or
instr instanceof CallReadSideEffectInstruction or
instr instanceof ExitFunctionInstruction or
instr instanceof EnterFunctionInstruction or
instr instanceof WriteSideEffectInstruction or
instr instanceof PhiInstruction or
instr instanceof ReadSideEffectInstruction or
instr instanceof ChiInstruction or
instr instanceof InitializeIndirectionInstruction or
instr instanceof AliasedDefinitionInstruction or
instr instanceof AliasedUseInstruction or
instr instanceof InitializeNonLocalInstruction or
instr instanceof ReturnIndirectionInstruction
)
Expand Down

0 comments on commit 9aca2d8

Please sign in to comment.