[all-commits] [llvm/llvm-project] 14e289: Fix pattern error for S2_tstbit_i instruction

androm3da via All-commits all-commits at lists.llvm.org
Wed Oct 30 09:21:57 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14e289eb774ebbc2fc788bf23c17e2605c27ffb6
      https://github.com/llvm/llvm-project/commit/14e289eb774ebbc2fc788bf23c17e2605c27ffb6
  Author: Ikhlas Ajbar <iajbar at quicinc.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonPatterns.td
    A llvm/test/CodeGen/Hexagon/64bit_tstbit.ll

  Log Message:
  -----------
  Fix pattern error for S2_tstbit_i instruction

It used to generate S2_tstbit_i with constant -33 which resulted in an assert.
The reason is log2_32 was called with 64bit value 0.




More information about the All-commits mailing list