[all-commits] [llvm/llvm-project] 9f6193: [llvm][AArch64] Allow TB(N)Z to drop signext for s...

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Mon Nov 9 10:27:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f61931e077d831d33da2565d01e82f6bfb872aa
      https://github.com/llvm/llvm-project/commit/9f61931e077d831d33da2565d01e82f6bfb872aa
  Author: Francesco Petrogalli <francesco.petrogalli at arm.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/check-sign-bit-before-extension.ll

  Log Message:
  -----------
  [llvm][AArch64] Allow TB(N)Z to drop signext for sign bit tests.

For example if the sign extension is only used in for TBZ, and the value is used elsewhere with a zero extension, this can eliminate a sign extension.

Reviewed By: samparker

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




More information about the All-commits mailing list