[all-commits] [llvm/llvm-project] 1e50d0: [Analysis] fix swapped operands to computeConstant...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Tue Jan 4 10:15:16 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e50d064666f7e807ac96655405c5678251475f5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  [Analysis] fix swapped operands to computeConstantRange

This was noted in post-commit review for D116322 / 0edf99950e6 .

I am not seeing how to expose the bug in a test though because
we don't pass an assumption cache into this analysis from there.

More information about the All-commits mailing list