[all-commits] [llvm/llvm-project] 6c7957: [SVE] Fix bug in SVEIntrinsicOpts::optimizePTest

david-arm via All-commits all-commits at lists.llvm.org
Thu Aug 13 23:57:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c7957c9901714b7ad0a8d2743a8c431b57fd0c9
      https://github.com/llvm/llvm-project/commit/6c7957c9901714b7ad0a8d2743a8c431b57fd0c9
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-08-14 (Fri, 14 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
    M llvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll

  Log Message:
  -----------
  [SVE] Fix bug in SVEIntrinsicOpts::optimizePTest

The code wasn't taking into account that the two operands
passed to ptest could be identical and was trying to erase
them twice.

Differential Revision: https://reviews.llvm.org/D85892




More information about the All-commits mailing list