[all-commits] [llvm/llvm-project] d39f57: [Attributor][FIX] Properly promote arguments point...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Oct 28 22:48:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d39f574dcc99d639f224fb0adebbf3de6ffeedbc
      https://github.com/llvm/llvm-project/commit/d39f574dcc99d639f224fb0adebbf3de6ffeedbc
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    A llvm/test/Transforms/Attributor/ArgumentPromotion/array.ll

  Log Message:
  -----------
  [Attributor][FIX] Properly promote arguments pointers to arrays

When we promote pointer arguments we did compute a wrong offset and use
a wrong type for the array case.

Bug reported and reduced by Whitney Tsang <whitneyt at ca.ibm.com>.


  Commit: 92f7683d8a676918863a684cdb52121a107b3617
      https://github.com/llvm/llvm-project/commit/92f7683d8a676918863a684cdb52121a107b3617
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll

  Log Message:
  -----------
  [Attributor][NFC] Rerun update test script


Compare: https://github.com/llvm/llvm-project/compare/73547b08de59...92f7683d8a67


More information about the All-commits mailing list