aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-08 22:02:38 +0000
committerDan Gohman <gohman@apple.com>2010-02-08 22:02:38 +0000
commit618f17702d09795279717827eeb06632d6ef49e4 (patch)
treeeb1035884a7ee44f2daa17c7a8972bc61556037b /lib/CodeGen/IntrinsicLowering.cpp
parentbaf0c67988feec5b7698f89dce499ddb7d0c3c42 (diff)
When CodeGen'ing unoptimized code, there may be unfolded constant expressions
in global initializers. Instead of aborting, attempt to fold them on the spot. If folding succeeds, emit the folded expression instead. This fixes PR6255. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
0 files changed, 0 insertions, 0 deletions