[SystemZ] Fix argument type of tdc instruction.
authorKai Nacke <kai.nacke@de.ibm.com>
Mon, 9 May 2022 13:53:28 +0000 (09:53 -0400)
committerKai Nacke <kai.nacke@de.ibm.com>
Mon, 9 May 2022 17:12:37 +0000 (13:12 -0400)
commitb2206d1de3d33c8ae58433cb6c1d50b5db3417ce
tree74a302b046ef8f9e33332b9878a3b3cc6d2503ae
parent431b23d20d5c2889d38c9ce20ac8e66357d5d9c4
[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
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp