aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-10-21 10:49:45 +0200
committerNikita Popov <npopov@redhat.com>2022-10-21 10:53:06 +0200
commitd25ef09466e4e4ca807e85360812cf9d139c4249 (patch)
treee900661cecbfcf0a0f2d7cf0fd276ecbee6edd7c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent9cb4e90e72602e0974b2eb9e5eb56fd2cc998db7 (diff)
downloadllvm-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