summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-10-28 10:41:29 +0000
committerJames Molloy <james.molloy@arm.com>2015-10-28 10:41:29 +0000
commitc67dec690f7a26522c22bdec569a888788a315d6 (patch)
tree5731c7ecf60286df5a8c0a729bf589ea73bde88f /llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
parent89ea433bd63f8d027fc66d6dbc4153464a65ec10 (diff)
downloadbcm5719-llvm-c67dec690f7a26522c22bdec569a888788a315d6.tar.gz
bcm5719-llvm-c67dec690f7a26522c22bdec569a888788a315d6.zip
[GlobalsAA] An indirect global that is initialized is not fair game
When checking if an indirect global (a global with pointer type) is only assigned by allocation functions, first check if the global is itself initialized. If it is, it's not only assigned by allocation functions. This fixes PR25309. Thanks to David Majnemer for reducing the test case! llvm-svn: 251508
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud