[PATCH] D109515: [AggressiveInstCombine] Add `udiv` and `urem` instrs to TruncInstCombine DAG

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 08:48:07 PDT 2021


anton-afanasyev marked 3 inline comments as done.
anton-afanasyev added inline comments.


================
Comment at: llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll:22
   %zextx = zext i16 %x to i32
   %zexty = zext i16 %x to i32
   %i0 = udiv i32 %zextx, %zexty
----------------
spatel wrote:
> Typo: 'zext i16 %y to i32'
Oops, thanks, fixed!


================
Comment at: llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll:113
   %zextx = zext i16 %x to i32
   %zexty = zext i16 %x to i32
   %i0 = urem i32 %zextx, %zexty
----------------
spatel wrote:
> Typo: 'zext i16 %y to i32'
Oops, thanks, fixed!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109515/new/

https://reviews.llvm.org/D109515



More information about the llvm-commits mailing list