Skip to content
Commit 4268d6a7 authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 95583
parent 6f9646e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment