forked from OSchip/llvm-project
ca0ed40e00
This builder exposed a somehow "unsafe" API: it pretends we can construct an InsertOnRangeOp from a range of SSA values, even though this will crash if these aren't the result of `arith.constant` since the operation actually needs attribute values (a build method can't fail gracefully). That means that the caller must check for the producer, at which point they can just assemble the attribute array directly and call the existing builder. The existing call-sites were even in a worse state here: they would actually create a constant operation that wouldn't be used and only serve to carry the attribute through the builder API. Differential Revision: https://reviews.llvm.org/D112946 |
||
---|---|---|
.. | ||
.clang-format | ||
.clang-tidy | ||
CMakeLists.txt | ||
CharacterExpr.cpp | ||
CharacterRuntime.cpp | ||
Coarray.cpp | ||
ComplexExpr.cpp | ||
ConvertExpr.cpp | ||
ConvertType.cpp | ||
DoLoopHelper.cpp | ||
FIRBuilder.cpp | ||
IO.cpp | ||
IntervalSet.h | ||
IntrinsicCall.cpp | ||
Mangler.cpp | ||
OpenACC.cpp | ||
OpenMP.cpp | ||
PFTBuilder.cpp | ||
RTBuilder.h | ||
SymbolMap.h |