OSDN Git Service

Merging r368324:
authorHans Wennborg <hans@hanshq.net>
Fri, 9 Aug 2019 09:56:27 +0000 (09:56 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 9 Aug 2019 09:56:27 +0000 (09:56 +0000)
commitd7c48ec18e3ed725399bc006ad1644de093ca8e2
tree762df044932c5d56693fbc88f0c1ef598d0f70ac
parent2456fe5da3a527bf7ed52de7539a75e1f9720b03
Merging r368324:
------------------------------------------------------------------------
r368324 | ctopper | 2019-08-08 20:11:17 +0200 (Thu, 08 Aug 2019) | 7 lines

[X86] Make CMPXCHG16B feature imply CMPXCHG8B feature.

This fixes znver1 so that it properly enables CMPXHG8B. We can
probably remove explicit CMPXCHG8B from CPUs that also have
CMPXCHG16B, but keeping this simple to allow cherry pick to 9.0.

Fixes PR42935.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_90@368423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td
test/CodeGen/X86/cmpxchg8b.ll