[all-commits] [llvm/llvm-project] 3e89cc: [X86] Remove isel predicates for xgetbv/xsetbv ins...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Sep 2 10:25:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e89cc5cda22bdc35b1d0a21e6d8eae08a4f61dc
https://github.com/llvm/llvm-project/commit/3e89cc5cda22bdc35b1d0a21e6d8eae08a4f61dc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-09-02 (Thu, 02 Sep 2021)
Changed paths:
M llvm/lib/Target/X86/X86InstrSystem.td
M llvm/test/CodeGen/X86/system-intrinsics-xsetbv.ll
Log Message:
-----------
[X86] Remove isel predicates for xgetbv/xsetbv instructions so they can work on Windows.
https://reviews.llvm.org/D56686 was supposed to allow these to
work on Windows without needing to enable the xsave feature to
match MSVC. It seems this didn't work because the backend isel
patterns would still block it.
This patch removes the predicates from the isel patterns.
Fixes PR51706.
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D109097
More information about the All-commits
mailing list