diff options
author | Jay Foad <jay.foad@amd.com> | 2021-06-11 16:36:30 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2021-06-23 10:47:43 +0100 |
commit | 157473a58f02b8f2ad12ecbaaa1af32d0342257b (patch) | |
tree | bc53dd9731fb3145f33b3b8c375de647dd46b311 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f1844f15c1ad54b78f2d84087df4b51fe5f703f6 (diff) | |
download | llvm-157473a58f02b8f2ad12ecbaaa1af32d0342257b.zip llvm-157473a58f02b8f2ad12ecbaaa1af32d0342257b.tar.gz llvm-157473a58f02b8f2ad12ecbaaa1af32d0342257b.tar.bz2 |
[IR] Simplify createReplacementInstr
NFCI, although the test change shows that ConstantExpr::getAsInstruction
is better than the old implementation of createReplacementInstr because
it propagates things like the sdiv "exact" flag.
Differential Revision: https://reviews.llvm.org/D104124
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions