mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[AbstractAttributor] Refine logic to indicate pessimistic fixed point when folding __kmpc_is_spmd_exec_mode
Since we are using assumed information now, the logic should be refined to avoid unncessary assertion. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106630
This commit is contained in:
parent
c3bb156e90
commit
89d6157c2c
@ -3698,10 +3698,8 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
if (KnownSPMDCount && KnownNonSPMDCount)
|
||||
return indicatePessimisticFixpoint();
|
||||
|
||||
if (AssumedSPMDCount && AssumedNonSPMDCount)
|
||||
if ((AssumedSPMDCount + KnownSPMDCount) &&
|
||||
(AssumedNonSPMDCount + KnownNonSPMDCount))
|
||||
return indicatePessimisticFixpoint();
|
||||
|
||||
auto &Ctx = getAnchorValue().getContext();
|
||||
|
Loading…
Reference in New Issue
Block a user