[all-commits] [llvm/llvm-project] a56803: [Analysis] fix cast in ValueTracking to allow cons...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Dec 20 14:23:05 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a56803b8f8df4f8d866f91d354b82ee9b62e9a60
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

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

  Log Message:
  [Analysis] fix cast in ValueTracking to allow constant expression

The test would crash because a non-instruction negate op made it in here.

Fixes #51506

More information about the All-commits mailing list