[all-commits] [llvm/llvm-project] b53af0: [Attributor][FIX] Collapse `undef` to a proper value

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Feb 14 19:45:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b53af0e7f952feb0a54eff2ef9c9e38e62620a4b
      https://github.com/llvm/llvm-project/commit/b53af0e7f952feb0a54eff2ef9c9e38e62620a4b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/range.ll
    M llvm/test/Transforms/Attributor/undefined_behavior.ll

  Log Message:
  -----------
  [Attributor][FIX] Collapse `undef` to a proper value

If we see an undef we cannot assume it's the same as "no value". For now
we just collapse it to 0.




More information about the All-commits mailing list