[all-commits] [llvm/llvm-project] 77cc69: AArch64: fix bitcode upgrade of @llvm.neon.addp.

Tim Northover via All-commits all-commits at lists.llvm.org
Tue Jan 14 05:43:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77cc690bae310f4cba0a34f2da8a37a7c9a10a82
      https://github.com/llvm/llvm-project/commit/77cc690bae310f4cba0a34f2da8a37a7c9a10a82
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    A llvm/test/Bitcode/aarch64-addp-upgrade.bc
    A llvm/test/Bitcode/aarch64-addp-upgrade.ll

  Log Message:
  -----------
  AArch64: fix bitcode upgrade of @llvm.neon.addp.

We were upgrading it to faddp, but a version taking two type parameters instead
of one. This then got upgraded a second time to the version with just one
parameter, but occasionally (for reasons I don't understand) this unusual
two-stage process corrupted a use-list, leading to a crash when the two faddp
declarations didn't match.




More information about the All-commits mailing list