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

david-arm via All-commits all-commits at lists.llvm.org
Tue Aug 18 01:07:30 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: da72df44005c909e40af867843168c4c456baa3d
      https://github.com/llvm/llvm-project/commit/da72df44005c909e40af867843168c4c456baa3d
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-08-18 (Tue, 18 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

(cherry picked from commit 6c7957c9901714b7ad0a8d2743a8c431b57fd0c9)




More information about the All-commits mailing list