HomePhabricator

[CUDA][HIP] Re-apply part of r372318.

Authored by hliao on Thu, Sep 19, 2:26 PM.

Description

[CUDA][HIP] Re-apply part of r372318.

  • r372318 causes violation of use-of-uninitialized-value detected by MemorySanitizer. Once Viable field is set to false, FailureKind needs setting as well as it will be checked during destruction if Viable is not true.
  • Revert the part trying to skip std::vector erasing.

llvm-svn: 372356

Details

Committed
hliaoThu, Sep 19, 2:26 PM
Parents
rG08f938bd1ae3: Revert "[CUDA][HIP] Fix typo in `BestViableFunction`"
Branches
Unknown
Tags
Unknown