[PATCH] D54108: [ARM] Enable mixed types in ARM CGP

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 06:58:26 PST 2018


samparker updated this revision to Diff 172762.
samparker added a comment.

Now disallowing icmps that operate on types that are smaller than TypeSize. The handling of truncs being sources and sinks has also been reverted.

- we allow casts if their result or operand is <= TypeSize.
- zexts are sinks if their result > TypeSize.
- truncs are still sinks if their operand == TypeSize.
- truncs are still sources if their result == TypeSize.


https://reviews.llvm.org/D54108

Files:
  lib/Target/ARM/ARMCodeGenPrepare.cpp
  test/CodeGen/ARM/CGP/arm-cgp-calls.ll
  test/CodeGen/ARM/CGP/arm-cgp-casts.ll
  test/CodeGen/ARM/CGP/arm-cgp-signed-icmps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54108.172762.patch
Type: text/x-patch
Size: 16823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181106/86272b34/attachment.bin>


More information about the llvm-commits mailing list