HomePhabricator

[Utils] isLegalToPromote - Fix missing null check before writing to…

Authored by RKSimon on Sep 15 2020, 5:48 AM.

Description

[Utils] isLegalToPromote - Fix missing null check before writing to FailureReason.

The FailureReason input parameter maybe null, we check this in all other cases in the method but this one was missed somehow.

Fixes clang-tidy warning.

Details

Committed
RKSimonSep 15 2020, 6:49 AM
Parents
rG2d8f0c05dbe7: [mlir][openacc] Add missing print of vector_length in parallel op
Branches
Unknown
Tags
Unknown