[llvm] [BasicAA] Consider 'nneg' flag when comparing CastedValues (PR #94129)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 02:26:16 PDT 2024


================
@@ -450,7 +473,8 @@ static LinearExpression GetLinearExpression(
 
   if (isa<ZExtInst>(Val.V))
----------------
nikic wrote:

dyn_cast here instead.

https://github.com/llvm/llvm-project/pull/94129


More information about the llvm-commits mailing list