Skip to content
Commit 68f9f9d9 authored by Nick Lewycky's avatar Nick Lewycky
Browse files

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
parent e070fd2a
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