search for: madeirchang

Displaying 5 results from an estimated 5 matches for "madeirchang".

Did you mean: madeirchange
2020 Jun 17
2
InstCombine doesn't delete instructions with token
...lue::get(Inst->getType())); - if (Inst->isEHPad()) { + if (Inst->isEHPad() || Inst->getType()->isTokenTy()) { EndInst = Inst; @@ -3022,7 +3022,8 @@ static bool prepareICWorklistFromFunction(Function &F, const DataLayout &DL, ++NumDeadInst; MadeIRChange = true; } Inst->eraseFromParent(); } } I believe the goal was to avoid RAUW the EHPad (as we don't delete the associated EHRet) and not skip all of the token instructions. At least you only test on EHPad in the associated unit test. In which case we could instead do:...
2020 Jun 17
2
InstCombine doesn't delete instructions with token
...if (Inst->isEHPad()) { > > + if (Inst->isEHPad() || Inst->getType()->isTokenTy()) { > EndInst = Inst; > @@ -3022,7 +3022,8 @@ static bool prepareICWorklistFromFunction(Function > &F, const DataLayout &DL, > ++NumDeadInst; > MadeIRChange = true; > } > Inst->eraseFromParent(); > } > } > > > > I believe the goal was to avoid RAUW the EHPad (as we don't delete the > associated EHRet) and not skip all of the token instructions. At least you > only test on EHPad in the associat...
2020 Jun 17
2
InstCombine doesn't delete instructions with token
...if (Inst->isEHPad()) { > > + if (Inst->isEHPad() || Inst->getType()->isTokenTy()) { > EndInst = Inst; > @@ -3022,7 +3022,8 @@ static bool prepareICWorklistFromFunction(Function > &F, const DataLayout &DL, > ++NumDeadInst; > MadeIRChange = true; > } > Inst->eraseFromParent(); > } > } > > > > I believe the goal was to avoid RAUW the EHPad (as we don't delete the > associated EHRet) and not skip all of the token instructions. At least you > only test on EHPad in the associat...
2014 Sep 19
2
[LLVMdev] More careful treatment of floating point exceptions
Hi Sanjay, Thanks, I saw this flag and it's definitely should be considered, but it appeared to me to be static characteristic of target platform. I'm not sure how appropriate it would be to change its value from a front-end. It says "Has", while optional flag would rather say "Uses" meaning that implementation cares about floating point exceptions. Regards, Sergey
2014 Sep 25
2
[LLVMdev] More careful treatment of floating point exceptions
...ss); } diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h index 6c0d4e7..d18309d 100644 --- a/lib/Transforms/InstCombine/InstCombine.h +++ b/lib/Transforms/InstCombine/InstCombine.h @@ -102,6 +102,7 @@ class LLVM_LIBRARY_VISIBILITY InstCombiner bool MadeIRChange; LibCallSimplifier *Simplifier; bool MinimizeSize; + bool HonorFPExceptions; public: /// Worklist - All of the instructions that need to be simplified. @@ -115,6 +116,7 @@ public: static char ID; // Pass identification, replacement for typeid InstCombiner() : FunctionPass(ID), D...