Make GVN look through extractvalues for recognised intrinsics. GVN can then CSE ops...
authorLang Hames <lhames@gmail.com>
Fri, 8 Jul 2011 01:50:54 +0000 (01:50 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 8 Jul 2011 01:50:54 +0000 (01:50 +0000)
commit1fb0955cab05ff71f5bbad523b0374db3b08b201
tree1b8acc9ed0797f735863cf293cdb531a05aa5bb6
parent01843361953463519db42e8098dc8b31b45407c8
Make GVN look through extractvalues for recognised intrinsics. GVN can then CSE ops that match values produced by the intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134677 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/2011-07-07-MatchIntrinsicExtract.ll [new file with mode: 0644]