diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-18 20:35:16 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-19 17:44:43 +0100 |
commit | f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd (patch) | |
tree | 0078e0c98643e08f342acd89af470da505f34397 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 7a554270c030ed8b7074ebd9a339a633b8f45059 (diff) | |
download | llvm-f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd.zip llvm-f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd.tar.gz llvm-f12fb2d99b8dd0dbef1c79f1d401200150f2d0bd.tar.bz2 |
[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 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 worklist.
Differential Revision: https://reviews.llvm.org/D74787
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions