[PATCH] D17181: [X86] Don't turn (c?-v:v) into (c?-v:0) by blindly using PSIGN.

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 13:45:29 PST 2016


ab updated this revision to Diff 48009.
ab added a comment.

Simplify (srl c, 31) to reuse intermediate result: (srl (sra c, 31), 31).

Noticed after uploading the patch, of course ;)


http://reviews.llvm.org/D17181

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx2-logic.ll
  test/CodeGen/X86/vec-sign.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17181.48009.patch
Type: text/x-patch
Size: 4635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160215/5d4adaa3/attachment.bin>


More information about the llvm-commits mailing list