[X86] Reduce unnecessary instregex for AlderlakeP schedule model
authorHaohai Wen <haohai.wen@intel.com>
Sat, 12 Nov 2022 04:30:04 +0000 (12:30 +0800)
committerHaohai Wen <haohai.wen@intel.com>
Sat, 12 Nov 2022 04:32:08 +0000 (12:32 +0800)
commit8b3f7833e0d2d6be0392831ffeb2edccc5197522
tree600dc492731bae990bfa41005a6d1d4641922611
parent2179f513356116aa30e2ecffb461f9de94f65475
[X86] Reduce unnecessary instregex for AlderlakeP schedule model

Using instregex for simple instruction opcode is much slower than
instrs. This patch replaces them with instrs.

Github issue: 35303

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D137841
llvm/lib/Target/X86/X86SchedAlderlakeP.td