diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-10 16:37:49 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-10 16:39:50 +0100 |
commit | 65bec04295f1f678977151454ce852ba61149ac8 (patch) | |
tree | f261797361d782a6160d68d7684fd39324caa5e5 /llvm/lib/Support/CommandLine.cpp | |
parent | 5082c330138fd98a7be218e18eb30d78832dac3f (diff) | |
download | llvm-65bec04295f1f678977151454ce852ba61149ac8.zip llvm-65bec04295f1f678977151454ce852ba61149ac8.tar.gz llvm-65bec04295f1f678977151454ce852ba61149ac8.tar.bz2 |
[ConstantFold] Handle same type in ConstantFoldLoadThroughBitcast
Usually the case where the types are the same ends up being handled
fine because it's legal to do a trivial bitcast to the same type.
However, this is not true for aggregate types. Short-circuit the
whole code if the types match exactly to account for this.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions