Disable gvn non-local speculative loads under asan.
authorMike Aizatsky <aizatsky@chromium.org>
Wed, 18 Nov 2015 20:43:00 +0000 (20:43 +0000)
committerMike Aizatsky <aizatsky@chromium.org>
Wed, 18 Nov 2015 20:43:00 +0000 (20:43 +0000)
commit54225a9153715dfd9a14f226bdb734476cf11759
tree145f3675396fa2d9e1a1e1ac4adcd4fb1738d9d6
parent156d5ee497ef9b6b08bad403f66c52bb15887db9
Disable gvn non-local speculative loads under asan.

Summary: Fix for https://llvm.org/bugs/show_bug.cgi?id=25550

Differential Revision: http://reviews.llvm.org/D14763

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