[VENTUS][fix]Fix double add and mul operation
Passed test_geometrics in CTS.
This commit is contained in:
parent
ecddf383ed
commit
5b1f7d5875
|
@ -916,7 +916,7 @@ void TargetPassConfig::addIRPasses() {
|
|||
|
||||
// Prepare expensive constants for SelectionDAG.
|
||||
if (getOptLevel() != CodeGenOpt::None && !DisableConstantHoisting)
|
||||
addPass(createConstantHoistingPass());
|
||||
// addPass(createConstantHoistingPass());
|
||||
|
||||
if (getOptLevel() != CodeGenOpt::None)
|
||||
addPass(createReplaceWithVeclibLegacyPass());
|
||||
|
|
Loading…
Reference in New Issue