summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-04-14 16:50:22 +0000
committerKaelyn Takata <rikka@google.com>2014-04-14 16:50:22 +0000
commitf9d483128cae3b4b11923d3477752dc92e9decb2 (patch)
treee8f15c00dfc5005fa5dc541363f63535e577e5a9 /llvm/lib/Analysis/BranchProbabilityInfo.cpp
parent95d570335ce3ce35519073732dc185eeb701823f (diff)
downloadbcm5719-llvm-f9d483128cae3b4b11923d3477752dc92e9decb2.tar.gz
bcm5719-llvm-f9d483128cae3b4b11923d3477752dc92e9decb2.zip
Fix up MCFixup::getAccessVariant to handle unary expressions.
This allows correct relocations to be generated for a symbolic address that is being adjusted by a negative constant. Since r204294, such expressions have triggered undefined behavior when LLVM was built without assertions. Credit goes to Rafael for this patch; I'm submitting it on his behalf as he is on vacation this week. llvm-svn: 206192
Diffstat (limited to 'llvm/lib/Analysis/BranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud