[all-commits] [llvm/llvm-project] b2206d: [SystemZ] Fix argument type of tdc instruction.

Kai Nacke via All-commits all-commits at lists.llvm.org
Mon May 9 10:14:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2206d1de3d33c8ae58433cb6c1d50b5db3417ce
      https://github.com/llvm/llvm-project/commit/b2206d1de3d33c8ae58433cb6c1d50b5db3417ce
  Author: Kai Nacke <kai.nacke at de.ibm.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

  Log Message:
  -----------
  [SystemZ] Fix argument type of tdc instruction.

The DAG node for the Test Data Class is defined using i64 as the second parameter.
However, the code to lower is_fpclass uses `i32` as type. This only works because no
type check is generated in the DAG matcher.
This PR changes the type of the mask constant to `i64`.

Reviewed By: uweigand

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




More information about the All-commits mailing list