[all-commits] [llvm/llvm-project] 8960ba: Revert "[InstCombine] C0 <<{nsw, nuw} (X - C1) -->...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Thu Apr 21 09:15:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8960ba7491e8551f28bbc7a177e8cfb8404513b0
https://github.com/llvm/llvm-project/commit/8960ba7491e8551f28bbc7a177e8cfb8404513b0
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/shift-add.ll
Log Message:
-----------
Revert "[InstCombine] C0 <<{nsw, nuw} (X - C1) --> (C0 >> C1) << X"
This reverts commit 5819f4a422865fc9a8ea4dc772769e14010ff6a7.
This caused bots to fail with a crash/assert during the fold,
so some constraint was missed.
More information about the All-commits
mailing list