[PATCH] D42424: [InstCombine] Allow common type conversions to i8/i16

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 11:20:04 PST 2018


dmgreen updated this revision to Diff 132634.
dmgreen added a comment.

Update test. Thanks for the suggestion. I was copying one of the existing tests, but I think you are right, this way is better.

I'll try to run some more tests overnight to be sure this is OK.


https://reviews.llvm.org/D42424

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/and-narrow.ll
  test/Transforms/InstCombine/phi-timeout.ll
  test/Transforms/InstCombine/should-change-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42424.132634.patch
Type: text/x-patch
Size: 16515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180202/3c70732a/attachment.bin>


More information about the llvm-commits mailing list