[PATCH] D52080: [ARM] Cleanup ARM CGP isSupportedValue

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 02:27:01 PDT 2018


samparker created this revision.
samparker added a reviewer: SjoerdMeijer.
Herald added a reviewer: javed.absar.
Herald added subscribers: chrib, kristof.beyls.

isSupportedValue explicitly checked and accepted many types of value, primarily for debugging reasons. Remove most of these checks and do a bit of refactoring now that the pass is more stable. This also enables ZExts to be sources, but this has very little practical benefit at the moment extend instructions will still be introduced.


https://reviews.llvm.org/D52080

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52080.165448.patch
Type: text/x-patch
Size: 4544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180914/12ac0fe7/attachment.bin>


More information about the llvm-commits mailing list