aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-10-06 10:02:19 -0700
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-10-14 12:26:58 -0700
commitd877e3fe71676b0ff10410d80456b35cdd5bf796 (patch)
tree3ff611f2bd0a35fb89232b209bf46505571d7213 /flang/lib/Frontend/CompilerInvocation.cpp
parent34bbe6548dd9a932aecbcf417714ba103e0e2ddf (diff)
downloadllvm-d877e3fe71676b0ff10410d80456b35cdd5bf796.zip
llvm-d877e3fe71676b0ff10410d80456b35cdd5bf796.tar.gz
llvm-d877e3fe71676b0ff10410d80456b35cdd5bf796.tar.bz2
[Transforms/ObjCARC] Fix non-deterministic output of `ObjCARCOptPass`
`ProvenanceAnalysis::related()` was assuming that the order of parameters for `relatedCheck()` was not affecting the result but this was not the case when both parameters were `PHINode`s. Due to this assumption `ProvenanceAnalysis::related()` was ordering the parameters based on pointer value which resulted in non-deterministic behavior. To address this change `relatedPHI()` so that it gives the same result independent of the parameter order. rdar://100325456 Differential Revision: https://reviews.llvm.org/D135376
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions