Displaying 14 results from an estimated 14 matches for "foldbranchtocommondest".
2008 Aug 18
0
[LLVMdev] A question about FoldBranchtoCommonDest() in pass -simplifycfg
Hi,
Is there anybody familiar with the code in
llvm/lib/Transforms/Utils/SimplifyCFG.cpp?
The function FoldBranchtoCommonDest() (line 1422) has the comment as
following:
"/// FoldBranchToCommonDest - If this basic block is ONLY a setcc and a
branch,
/// and if a predecessor branches to us and one of our successors, fold the
/// setcc into the predecessor and use logical operations to pick the right
/// destination.&q...
2008 Aug 13
0
[LLVMdev] A case where llvm created different cfg for same code
Hi,
> 7 for(i=0; i<j && i+j+1<N; i++) {
>
> 8 for(i=0; i<j && i<N-j-1; i++) {
the arithmetic might overflow in one of these
but not in the other.
Best wishes,
Duncan.
2008 Aug 13
4
[LLVMdev] A case where llvm created different cfg for same code
>
> Message: 4
> Date: Tue, 12 Aug 2008 13:23:52 -0700
> From: "Bill Wendling" <isanbard at gmail.com>
> Subject: Re: [LLVMdev] A case where llvm created different cfg for
> same code
> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Message-ID:
> <16e5fdf90808121323g1ae2a2e3lb6c5bd62521df621 at mail.gmail.com>
>
2013 Nov 19
3
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...nsforms/Utils/SimplifyCFG.cpp
>>>> ===================================================================
>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>> @@ -1967,6 +1967,13 @@
>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>> BasicBlock *BB = BI->getParent();
>>>>
>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>> Use of
>>>> + // uninitialized value in this branch instruction is reported with
>>&...
2013 Nov 19
0
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...fyCFG.cpp
>>>>> ===================================================================
>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>>> @@ -1967,6 +1967,13 @@
>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>>> BasicBlock *BB = BI->getParent();
>>>>>
>>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>>> Use of
>>>>> + // uninitialized value in this branch instruction is rep...
2013 Nov 19
3
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...t;>>> ===================================================================
>>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> @@ -1967,6 +1967,13 @@
>>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>>>> BasicBlock *BB = BI->getParent();
>>>>>>
>>>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>>>> Use of
>>>>>> + // uninitialized value in this branc...
2013 Nov 19
1
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...t;>>> ===================================================================
>>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> @@ -1967,6 +1967,13 @@
>>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>>>> BasicBlock *BB = BI->getParent();
>>>>>>
>>>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>>>> Use of
>>>>>> + // uninitialized value in this branc...
2013 Nov 19
5
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...=============================
> >>>>>> ==
> >>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> @@ -1967,6 +1967,13 @@
> >>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
> >>>>>> BasicBlock *BB = BI->getParent();
> >>>>>>
> >>>>>> + // This optimization results in confusing MemorySanitizer
> reports.
> >>>>>> Use of
> >>>>>> + // uni...
2013 Nov 19
0
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...======================================================
>>>>>> ==
>>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> @@ -1967,6 +1967,13 @@
>>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>>>> BasicBlock *BB = BI->getParent();
>>>>>>
>>>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>>>> Use of
>>>>>> + // uninitialized value in this branc...
2013 Nov 19
0
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...======================================================
>>>>>> ==
>>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
>>>>>> @@ -1967,6 +1967,13 @@
>>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
>>>>>> BasicBlock *BB = BI->getParent();
>>>>>>
>>>>>> + // This optimization results in confusing MemorySanitizer reports.
>>>>>> Use of
>>>>>> + // uninitialized value in this branc...
2013 Nov 19
2
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...=====
> > >>>>>> ==
> > >>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
> > >>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
> > >>>>>> @@ -1967,6 +1967,13 @@
> > >>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
> > >>>>>> BasicBlock *BB = BI->getParent();
> > >>>>>>
> > >>>>>> + // This optimization results in confusing MemorySanitizer
> > >>>>>> reports.
> > >>>>>>...
2013 Nov 19
0
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...==============================
> >>>>>> ==
> >>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> @@ -1967,6 +1967,13 @@
> >>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
> >>>>>> BasicBlock *BB = BI->getParent();
> >>>>>>
> >>>>>> + // This optimization results in confusing MemorySanitizer
> >>>>>> reports.
> >>>>>> Use of
> >>>...
2013 Nov 19
0
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...=====
> > >>>>>> ==
> > >>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
> > >>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
> > >>>>>> @@ -1967,6 +1967,13 @@
> > >>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
> > >>>>>> BasicBlock *BB = BI->getParent();
> > >>>>>>
> > >>>>>> + // This optimization results in confusing MemorySanitizer
> > >>>>>> reports.
> > >>>>>>...
2013 Nov 19
4
[LLVMdev] Curiosity about transform changes under Sanitizers (Was: [PATCH] Disable branch folding with MemorySanitizer)
...=============================
> >>>>>> ==
> >>>>>> --- lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> +++ lib/Transforms/Utils/SimplifyCFG.cpp
> >>>>>> @@ -1967,6 +1967,13 @@
> >>>>>> bool llvm::FoldBranchToCommonDest(BranchInst *BI) {
> >>>>>> BasicBlock *BB = BI->getParent();
> >>>>>>
> >>>>>> + // This optimization results in confusing MemorySanitizer
> reports.
> >>>>>> Use of
> >>>>>> + // uni...