[SystemZ] Bugfix in expansion of memmem operations.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 10 May 2023 09:02:07 +0000 (11:02 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 10 May 2023 09:05:13 +0000 (11:05 +0200)
commit00454a17f361d677d5423905c888daca1a80661a
tree11c5f71871272ad2ba3cb42c15ccefded85ac8de
parentf4a35492504d7a47afc8ea5b5dd9c437b7b66380
[SystemZ] Bugfix in expansion of memmem operations.

Since NC, OC, and XC clobber CC, the EXRL_Pseudo targeting these must also be
marked to do so.

Original patch by uweigand.

Reviewed by: uweigand

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

Fixes: https://github.com/llvm/llvm-project/issues/62572
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/memmem-exrl-cc.mir [new file with mode: 0644]