[PATCH] D71799: [Attributor] AAUndefinedBehavior: Check for branches on undef value.

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 22 10:40:35 PST 2019


uenoku added a comment.

  if (!SimplifiedV.hasValue()) {
    // No value yet, we can assume any value: assume this is undef BUT
    // this is not _known_ so we don't put in the known set.
  } else {
    These are also assumption. You can't use these as known
    if (undef) {
      // insert in KnownUB 
    } else {
      // insert in NoUB.
    }
  }


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71799/new/

https://reviews.llvm.org/D71799





More information about the llvm-commits mailing list