[VENTUS][fix]Fix double add and mul operation

Passed test_geometrics in CTS.
This commit is contained in:
ziliangzl 2024-07-24 10:32:18 +08:00
parent ecddf383ed
commit 5b1f7d5875
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ void TargetPassConfig::addIRPasses() {
// Prepare expensive constants for SelectionDAG. // Prepare expensive constants for SelectionDAG.
if (getOptLevel() != CodeGenOpt::None && !DisableConstantHoisting) if (getOptLevel() != CodeGenOpt::None && !DisableConstantHoisting)
addPass(createConstantHoistingPass()); // addPass(createConstantHoistingPass());
if (getOptLevel() != CodeGenOpt::None) if (getOptLevel() != CodeGenOpt::None)
addPass(createReplaceWithVeclibLegacyPass()); addPass(createReplaceWithVeclibLegacyPass());