[NVPTX] Correctly set regs for neg, abs intrinsics
authorJakub Chlanda <j.chlanda@gmail.com>
Fri, 4 Mar 2022 19:05:00 +0000 (11:05 -0800)
committerArtem Belevich <tra@google.com>
Fri, 4 Mar 2022 19:06:07 +0000 (11:06 -0800)
commitdce6aa237a07e581881f540222e68e6f2b912430
tree18297cd6fb35db7defb61af2096854e3428d2122
parentf9c2d6005ef06a37a99e324e72ce247d0472cf4e
[NVPTX] Correctly set regs for neg, abs intrinsics

This patch fixes a bug introduced in D117887.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D120991
llvm/lib/Target/NVPTX/NVPTXIntrinsics.td