[PATCH] D56428: [SelectionDAGBuilder] Respect getBooleanContents in copies to VRegs

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 7 22:03:02 PST 2019


tlively created this revision.
tlively added reviewers: dschuff, aheejin.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100.

Fixes https://bugs.llvm.org/show_bug.cgi?id=40172. See
test/CodeGen/WebAssembly/bug-40172.ll for an explanation. The changes
to X86 codegen are unfortunate if they are unnecessary, and I'd be
happy to accept feedback on how to make this fix less disruptive.


Repository:
  rL LLVM

https://reviews.llvm.org/D56428

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/WebAssembly/bug-40172.ll
  test/CodeGen/X86/and-sink.ll
  test/CodeGen/X86/fast-isel-select.ll
  test/CodeGen/X86/gpr-to-mask.ll
  test/CodeGen/X86/test-shrink-bug.ll
  test/CodeGen/X86/xmulo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56428.180611.patch
Type: text/x-patch
Size: 7731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190108/3f3bd472/attachment.bin>


More information about the llvm-commits mailing list