summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DIBuilder.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-02-17 06:59:21 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-02-17 06:59:21 +0000
commit68f9f9d9c8639424b0c7eff9d42bacd0caee7f8c (patch)
treeaa1b06cc1994edbf20afd7c2e82c4f377890f8fa /llvm/lib/Analysis/DIBuilder.cpp
parente070fd2ac88f067f3c78a9adc9f2a7d58c0b127b (diff)
downloadbcm5719-llvm-68f9f9d9c8639424b0c7eff9d42bacd0caee7f8c.tar.gz
bcm5719-llvm-68f9f9d9c8639424b0c7eff9d42bacd0caee7f8c.zip
Add support for invariant.start inside the static constructor evaluator. This is
useful to represent a variable that is const in the source but can't be constant in the IR because of a non-trivial constructor. If globalopt evaluates the constructor, and there was an invariant.start with no matching invariant.end possible, it will mark the global constant afterwards. llvm-svn: 150794
Diffstat (limited to 'llvm/lib/Analysis/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud