commit | 89493fda7e69891f32d65968ec5061037c7dff28 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Tue Jun 28 16:04:46 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Tue Jun 28 16:04:46 2016 +0000 |
tree | ea1a4de67da21213b0dfe362c0f34613f38d11a1 | |
parent | eeeea1e6dc7264e894d59f91b719e54067838466 [diff] |
[X86] Make WRPKRU/RDPKRU pass -verify-machineinstrs The original implementation attempted to zero registers using XOR %foo, %foo. This is problematic because it constitutes a read-modify-write of a register which might not be defined. Instead, use MOV32r0 to avoid these problems; expandPostRAPseudo does the right thing here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274024 91177308-0d34-0410-b5e6-96231b3b80d8