[PATCH] D89821: [SCEV] Match 'zext (trunc A to iB) to iY' as URem.

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 03:39:07 PDT 2020


mkazantsev added inline comments.


================
Comment at: llvm/unittests/Analysis/ScalarEvolutionTest.cpp:1334
+      "  %rem2 = urem i32 %a, 5"
+      "  %rem3 = urem i32 %a, %b"
+      "  ret void "
----------------
Could you please make a 64-bit version of this test to catch bug with `1u << size` if it happens?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89821



More information about the llvm-commits mailing list