OSDN Git Service

[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)
commit59ec4e46963c004a6493da28994411a3ee46ced6
treee5a4408fae1036dc89bf8e7f58fa12f388846bfa
parent27cda75f719162d21447b89d338998177b880963
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320279 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/X86/X86SchedBroadwell.td
lib/Target/X86/X86SchedHaswell.td
lib/Target/X86/X86SchedSkylakeClient.td
lib/Target/X86/X86SchedSkylakeServer.td
test/CodeGen/X86/avx-schedule.ll
test/CodeGen/X86/avx2-schedule.ll
test/CodeGen/X86/avx512-schedule.ll
test/CodeGen/X86/avx512-shuffle-schedule.ll
test/CodeGen/X86/mul-constant-i64.ll
test/CodeGen/X86/recip-fastmath.ll
test/CodeGen/X86/recip-fastmath2.ll
test/CodeGen/X86/sha-schedule.ll
test/CodeGen/X86/sse-schedule.ll