Teach instsimplify some tricks about exact/nuw/nsw shifts.
authorChris Lattner <sabre@nondot.org>
Wed, 9 Feb 2011 17:15:04 +0000 (17:15 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 9 Feb 2011 17:15:04 +0000 (17:15 +0000)
commit81a0dc911586c77421c2255aa417dc9b350b9e20
treef6a7b1c0a47ed7fa813cb89a3c0f5d48923bbdf5
parent6bfd77e3158b10861c76529492eae24a573390a8
Teach instsimplify some tricks about exact/nuw/nsw shifts.
improve interfaces to instsimplify to take this info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125196 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/InstructionSimplify.h
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstSimplify/exact-nsw-nuw.ll [new file with mode: 0644]