[X86] Fix bad regular expressions in the scheduler models. Question marks should...
authorCraig Topper <craig.topper@intel.com>
Sun, 10 Dec 2017 01:24:08 +0000 (01:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 10 Dec 2017 01:24:08 +0000 (01:24 +0000)
commit391c6f95074dd2c9fbfead66f43292303960c06e
tree200298b9d81f72d0dbd01bcc4324dfca59d128b0
parent8ee98d0b5132b04db7a7c6ae623add7b1eb9cac8
[X86] Fix bad regular expressions in the scheduler models. Question marks should be outside of multicharacter parenthesized expressions

If the question mark is inside the parentheses it only applies to the single character proceeding it.

I had to make a few additional cleanups to fix some duplicate warnings that were exposed by fixing this.

llvm-svn: 320279
13 files changed:
llvm/lib/Target/X86/X86SchedBroadwell.td
llvm/lib/Target/X86/X86SchedHaswell.td
llvm/lib/Target/X86/X86SchedSkylakeClient.td
llvm/lib/Target/X86/X86SchedSkylakeServer.td
llvm/test/CodeGen/X86/avx-schedule.ll
llvm/test/CodeGen/X86/avx2-schedule.ll
llvm/test/CodeGen/X86/avx512-schedule.ll
llvm/test/CodeGen/X86/avx512-shuffle-schedule.ll
llvm/test/CodeGen/X86/mul-constant-i64.ll
llvm/test/CodeGen/X86/recip-fastmath.ll
llvm/test/CodeGen/X86/recip-fastmath2.ll
llvm/test/CodeGen/X86/sha-schedule.ll
llvm/test/CodeGen/X86/sse-schedule.ll