[all-commits] [llvm/llvm-project] 4f2ccd: [Attributor][NFC] Improve debug messages

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Jul 19 16:18:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f2ccdd0b16823052ff34a07afff89c525c45cd8
      https://github.com/llvm/llvm-project/commit/4f2ccdd0b16823052ff34a07afff89c525c45cd8
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor][NFC] Improve debug messages


  Commit: f84712f0b83f2a0a367de26dddc23ba72799ba3b
      https://github.com/llvm/llvm-project/commit/f84712f0b83f2a0a367de26dddc23ba72799ba3b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll

  Log Message:
  -----------
  [Attributor] Teach checkForAllUses to follow returns into callers

If we can determine all call sites we can follow a use in a return
instruction into the caller. AAPointerInfo utilizes this feature.


Compare: https://github.com/llvm/llvm-project/compare/116ee23f4cc6...f84712f0b83f


More information about the All-commits mailing list