In progressChanges


  1. Reapply [IRBuilder] Always respect inserter/folder (details)
Commit f6875c434ec20eb4f24495317592f64334347784 by nikita.ppv
Reapply [IRBuilder] Always respect inserter/folder

Some IRBuilder methods that were originally defined on
IRBuilderBase do not respect custom IRBuilder inserters/folders,
because those were not accessible prior to D73835. Fix this by
making use of existing (and now accessible) IRBuilder methods,
which will handle inserters/folders correctly.

There are some changes in OpenMP and Instrumentation tests, where
bitcasts now get constant folded. I've also highlighted one
InstCombine test which now finishes in two rather than three
iterations, thanks to new instructions being inserted into the

Differential Revision:
The file was modifiedllvm/test/Transforms/InstCombine/saturating-add-sub.ll (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64el.ll (diff)
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64le.ll (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/byval-alignment.ll (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll (diff)
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/X86/vararg_call.ll (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll (diff)
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll (diff)
The file was modifiedllvm/lib/IR/IRBuilder.cpp (diff)