summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopStrengthReduce
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-02-21 07:33:38 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-02-21 07:33:38 +0000
commit60f1fe8438712d7a59649393bee5422b4073abe7 (patch)
tree048e9f52ea2ce2487be355bbbe9409b389312d6f /llvm/test/Transforms/LoopStrengthReduce
parent002549b8bee513fdc2f01867c1142de6bfaff803 (diff)
downloadbcm5719-llvm-60f1fe8438712d7a59649393bee5422b4073abe7.tar.gz
bcm5719-llvm-60f1fe8438712d7a59649393bee5422b4073abe7.zip
[ELF] - Make ASSERT() return Dot instead of evaluated value.
Previously ASSERT we implemented returned expression value. Ex: . = ASSERT(0x100); would set Dot value to 0x100 Form of assert when it is assigned to Dot was implemented for compatibility with very old GNU ld which required it. Some scripts in the wild, including linux kernel scripts use such ASSERTs at the end for doing different checks. Currently we fail with "unable to move location counter backward" for such scripts. Patch changes ASSERT to return location counter value to fix that. Differential revision: https://reviews.llvm.org/D30171 llvm-svn: 295703
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud