[PATCH] D46799: [x86][eflags] Fix PR37431 by teaching the x86 backend to understand a setCC pseudo when trying to understand generic setCC behavior.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 15:50:08 PDT 2018


chandlerc updated this revision to Diff 146711.
chandlerc added a comment.

Take a completely different approach here that should work much more reliably.
The code is pretty nasty. Suggestions on simplifying it are very welcome.


Repository:
  rL LLVM

https://reviews.llvm.org/D46799

Files:
  llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
  llvm/test/CodeGen/X86/copy-eflags.ll
  llvm/test/CodeGen/X86/flags-copy-lowering.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46799.146711.patch
Type: text/x-patch
Size: 11975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180514/781d3bf6/attachment.bin>


More information about the llvm-commits mailing list