diff options
author | Nikita Popov <npopov@redhat.com> | 2022-10-21 10:49:45 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-10-21 10:53:06 +0200 |
commit | d25ef09466e4e4ca807e85360812cf9d139c4249 (patch) | |
tree | e900661cecbfcf0a0f2d7cf0fd276ecbee6edd7c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 9cb4e90e72602e0974b2eb9e5eb56fd2cc998db7 (diff) | |
download | llvm-d25ef09466e4e4ca807e85360812cf9d139c4249.zip llvm-d25ef09466e4e4ca807e85360812cf9d139c4249.tar.gz llvm-d25ef09466e4e4ca807e85360812cf9d139c4249.tar.bz2 |
[AutoUpgrade] Fix length check for intrinsic upgrade
The shortest intrinsics that can be upgraded via remangling have
8 characters (like "llvm.abs"). Make sure these go through the
upgrade code.
I think that currently this change is not observable from in-tree
callers of UpgradeIntrinsicFunction(), because callers do
redundant remangling checks. However, this issue shows up in
existing tests if those checks are removed (which I will do in
followup changes).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions