[IRBuilder] Handle constexpr-bitcast for IRBuilder::CreateThreadLocalAddress
In case that opaque pointers not enabled, there may be some constexpr bitcast uses for thread local variables and the design of llvm allow people to sink constant arbitrarily. This breaks the assumption of IRBuilder::CreateThreadLocalAddress. This patch tries to handle the case.
parent
d8602bcd
Please register or sign in to comment