[PATCH] D126304: [TypePromotion] Allow native width icmps

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 08:19:30 PDT 2022


samparker created this revision.
samparker added reviewers: craig.topper, dmgreen, avieira.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
samparker requested review of this revision.
Herald added a project: LLVM.

During the search through the use-def tree, we may come across icmps that won't need they operands promoting, so allow them but do not visit their operands directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126304

Files:
  llvm/lib/CodeGen/TypePromotion.cpp
  llvm/test/Transforms/TypePromotion/ARM/casts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126304.431682.patch
Type: text/x-patch
Size: 8380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/a060d19a/attachment.bin>


More information about the llvm-commits mailing list