mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Bring back int_x86_sse2_movl_dq intrinsic for backward compatibility. Make sure
it's auto-upgraded to a shufflevector instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -873,7 +873,8 @@ bool BitcodeReader::ParseModule(const std::string &ModuleID) {
|
||||
// Look for intrinsic functions which need to be upgraded at some point
|
||||
for (Module::iterator FI = TheModule->begin(), FE = TheModule->end();
|
||||
FI != FE; ++FI) {
|
||||
if (Function* NewFn = UpgradeIntrinsicFunction(FI))
|
||||
Function* NewFn;
|
||||
if (UpgradeIntrinsicFunction(FI, NewFn))
|
||||
UpgradedIntrinsics.push_back(std::make_pair(FI, NewFn));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user