[PATCH] D121210: [X86] convertIntLogicToFPLogic - enable fp-logic on pre-AVX targets for supported fp predicates (PR34563)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 05:50:09 PST 2022


RKSimon created this revision.
RKSimon added reviewers: spatel, craig.topper, pengfei.
Herald added a subscriber: hiraditya.
Herald added a project: All.
RKSimon requested review of this revision.
Herald added a project: LLVM.

If the SETCC fp-condcode is supported on SSE as a single CMPPS/PD op then we can use convertIntLogicToFPLogic to reduce EFLAGS and XMM->GPR traffic like we do for AVX targets.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121210

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/fcmp-logic.ll
  llvm/test/CodeGen/X86/pr40539.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121210.413778.patch
Type: text/x-patch
Size: 7330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220308/4f5162b5/attachment.bin>


More information about the llvm-commits mailing list