]> granicus.if.org Git - llvm/commit
[GVN] Don't replace constants with constants.
authorDavide Italiano <davide@freebsd.org>
Wed, 11 Oct 2017 04:21:51 +0000 (04:21 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 11 Oct 2017 04:21:51 +0000 (04:21 +0000)
commitc65eb3a4b70a119da41ff2d3ebce0b037f92cba7
tree73a6092670e5124e6a4bd677f3a13383a384e3d9
parent9f81bdc36b453f32667d09c84d1b6add3a759a85
[GVN] Don't replace constants with constants.

This fixes PR34908. Patch by Alex Crichton!

Differential Revision:  https://reviews.llvm.org/D38765

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