[all-commits] [llvm/llvm-project] dada81: [Attributor] Propagate known align from arguments ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Dec 30 23:34:20 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dada8132af65c1fa74070839c260cd78d97a0903
      https://github.com/llvm/llvm-project/commit/dada8132af65c1fa74070839c260cd78d97a0903
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-12-31 (Tue, 31 Dec 2019)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
    M llvm/test/Transforms/Attributor/callbacks.ll
    M llvm/test/Transforms/Attributor/nocapture-2.ll

  Log Message:
  -----------
  [Attributor] Propagate known align from arguments to call sites arguments

Since the information is known we can simply use it at the call site.
This is especially useful for callbacks but also helps regular calls.

The test changes are mechanical.




More information about the All-commits mailing list