aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-04-08 11:44:23 -0700
committerArthur Eubanks <aeubanks@google.com>2021-04-08 14:01:57 -0700
commitc5d1ccbcdfb11c29c89a2789ac1e89cf4b270be7 (patch)
tree427cba289bf0041c8427ec2bae2c772b479df604 /llvm/lib/Support/FileOutputBuffer.cpp
parentf66e05a720f74409790bdede308380909f2ecd86 (diff)
downloadllvm-c5d1ccbcdfb11c29c89a2789ac1e89cf4b270be7.zip
llvm-c5d1ccbcdfb11c29c89a2789ac1e89cf4b270be7.tar.gz
llvm-c5d1ccbcdfb11c29c89a2789ac1e89cf4b270be7.tar.bz2
[GVN] Properly invalidate ICF cache when we simplify a value
This fixes a "Cached first special instruction is wrong!" assert. The assert fires because replacing a value with another can cause an instruction to no longer be "special" to ICF. In this case, devirtualization happened, turning an indirect call to a call to a willreturn function which is no longer special. Reviewed By: nikic, rnk Differential Revision: https://reviews.llvm.org/D99977
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions