]> granicus.if.org Git - llvm/commit
[X86] Make CMPXCHG16B feature imply CMPXCHG8B feature.
authorCraig Topper <craig.topper@intel.com>
Thu, 8 Aug 2019 18:11:17 +0000 (18:11 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 8 Aug 2019 18:11:17 +0000 (18:11 +0000)
commit3d3e1b8fee2897980e2ef991df223dc8dfc9155c
tree266352a4abe018c10117c3e6462963d39d1bc9d7
parent1d2260b9e7433384924b96ae8ef0749ef8a47147
[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/trunk@368324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td
test/CodeGen/X86/cmpxchg8b.ll