[PATCH] D94433: [ValueTracking] Check that alignment is non-zero in computeKnownBitsFromAssume (PR48713).

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 05:23:04 PDT 2021


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM - we either need to update the LangRef or have this quick fix to avoid crashing.



================
Comment at: llvm/test/Analysis/ValueTracking/pr48713.ll:1
+; RUN: opt -instsimplify < %s
+
----------------
We should add FileCheck and have the expected CHECK lines for this test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94433



More information about the llvm-commits mailing list