diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-26 21:14:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-26 21:14:05 +0000 |
commit | 505e982040fe7482e5f3c09b0c899c4e09393b69 (patch) | |
tree | ca9c508378c9760c0823357c4bb4ae44b126072c /lib/Transforms/Utils/CloneModule.cpp | |
parent | 24062ac5be1a33d1ef76d399613b7d48a684116e (diff) |
fix a really subtle bug in the cross section of aliases and TLS:
the SelectionDAG::getGlobalAddress function properly looks through
aliases to determine thread-localness, but then passes the GV* down
to GlobalAddressSDNode::GlobalAddressSDNode which does not. Instead
of passing down isTarget, just pass down the predetermined node
opcode. This fixes some assertions with out of tree changes I'm
working on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions