aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 21:30:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 21:30:21 +0000
commit7fce7e62db29e3b3e2ed32cc1997aafb2f57781e (patch)
tree28a79309714694a0a51ab36ade1748bf0019d2e8 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent8d88d081978aa962307114e0ea663f7e69fc3af8 (diff)
downloadllvm-7fce7e62db29e3b3e2ed32cc1997aafb2f57781e.zip
llvm-7fce7e62db29e3b3e2ed32cc1997aafb2f57781e.tar.gz
llvm-7fce7e62db29e3b3e2ed32cc1997aafb2f57781e.tar.bz2
Emit the offset directly instead of creating a dummy expression.
We were creating an expression of the form (S+C)-S which is just C. Patch by Frédéric Riss. I just added the testcase. llvm-svn: 232549
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions