diff options
author | Florian Hahn <flo@fhahn.com> | 2020-10-28 21:49:33 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-10-28 21:52:12 +0000 |
commit | 53f4c4b2cc51f4848dfc610a3a858ef821e39ae5 (patch) | |
tree | 66c60aa24238cdc5482b1bc54759e54fb963735b /clang/lib/Serialization/ModuleManager.cpp | |
parent | 50ee22d791864fb3243e4a022fd6e78d38102a64 (diff) | |
download | llvm-53f4c4b2cc51f4848dfc610a3a858ef821e39ae5.zip llvm-53f4c4b2cc51f4848dfc610a3a858ef821e39ae5.tar.gz llvm-53f4c4b2cc51f4848dfc610a3a858ef821e39ae5.tar.bz2 |
[InstCombine] Do not introduce bitcasts for swifterror arguments.
The following constraints hold for swifterror values:
A swifterror value (either the parameter or the alloca) can only
be loaded and stored from, or used as a swifterror argument.
This patch updates instcombine to not try to convert a bitcast of a
function into a bitcast of a swifterror argument.
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D90258
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions