[PATCH] D48706: [X86] Suppress load folding into and/or/xor if it will prevent matching btr/bts/btc.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 23:52:36 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, lebedev.ri.

This is a follow up to r335753. At the time I forgot about isProfitableToFold which makes this pretty easy.


Repository:
  rL LLVM

https://reviews.llvm.org/D48706

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  test/CodeGen/X86/btc_bts_btr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48706.153261.patch
Type: text/x-patch
Size: 8466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/6d971a9c/attachment.bin>


More information about the llvm-commits mailing list