[PATCH] D140045: [X86] Move RDFLAGS/WRFLAGS expansion until after RA
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 13:16:09 PST 2022
nickdesaulniers accepted this revision.
nickdesaulniers added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/test/CodeGen/X86/eflags.ll:4-22
+define dso_local i64 @get_eflags() local_unnamed_addr #0 {
+; CHECK-LABEL: get_eflags:
+; CHECK: # %bb.0:
+; CHECK-NEXT: pushfq
+; CHECK-NEXT: popq %rax
+; CHECK-NEXT: retq
+ %1 = tail call i64 @llvm.x86.flags.read.u64()
----------------
These are already covered by llvm/test/CodeGen/X86/x86-64-flags-intrinsics.ll. Do they add anything here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140045/new/
https://reviews.llvm.org/D140045
More information about the llvm-commits
mailing list