Bill Wendling
|
aa5abe88d6
[unwind removal] We no longer have 'unwind' instructions being generated, so
|
13 vuotta sitten |
Stepan Dyatkovskiy
|
24473120a2
SwitchInst refactoring.
|
13 vuotta sitten |
Nick Lewycky
|
6c00c6a181
Gracefully degrade precision in branch probability numbers.
|
13 vuotta sitten |
Nick Lewycky
|
f460bf8cd8
Actually, this code handles wrapped sets just fine. Noticed by inspection.
|
13 vuotta sitten |
Dan Gohman
|
3b205175ea
Fix SpeculativelyExecuteBB to either speculate all or none of the phis
|
13 vuotta sitten |
Dan Gohman
|
dd35df15a2
Revert r56315. When the instruction to speculate is a load, this
|
13 vuotta sitten |
Nick Lewycky
|
8da7ddf2d2
Demystify this comment.
|
13 vuotta sitten |
Nick Lewycky
|
91968489d7
Use false not zero, as a bool.
|
13 vuotta sitten |
Nick Lewycky
|
06cc66f65a
Teach simplifycfg to recompute branch weights when merging some branches, and
|
13 vuotta sitten |
Nick Lewycky
|
c9a1aed7fe
Update the branch weight metadata when reversing the order of a branch.
|
13 vuotta sitten |
Nick Lewycky
|
9d52310222
Sort includes, canonicalize whitespace, fix typos. No functionality change.
|
13 vuotta sitten |
Nick Lewycky
|
8369687576
Make some intrinsics safe to speculatively execute.
|
13 vuotta sitten |
Kevin Enderby
|
67005b311c
Revert r146822 at Pete Cooper's request as it broke clang self hosting.
|
13 vuotta sitten |
Pete Cooper
|
93ca12299f
SimplifyCFG now predicts some conditional branches to true or false depending on previous branch on same comparison operands.
|
13 vuotta sitten |
Dan Gohman
|
f042660197
Move Instruction::isSafeToSpeculativelyExecute out of VMCore and
|
13 vuotta sitten |
Duncan Sands
|
ad99ef8bf5
Delete trivial landing pads that just continue unwinding the caught
|
14 vuotta sitten |
Benjamin Kramer
|
9bb5488dbd
Address review comments.
|
14 vuotta sitten |
Benjamin Kramer
|
98d6d2372f
SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between.
|
14 vuotta sitten |
Bill Wendling
|
23b49ba6d5
I think there was some confusion about what I meant. :-) Replacing the comment.
|
14 vuotta sitten |
Eli Friedman
|
6437f2c2e2
After talking with Bill, it seems like the LandingPad handling here is likely
|
14 vuotta sitten |
Eli Friedman
|
33cb445fb6
Minor comment fixes.
|
14 vuotta sitten |
Eli Friedman
|
8176388d65
Update SimplifyCFG for atomic operations.
|
14 vuotta sitten |
Chris Lattner
|
db125cfaf5
land David Blaikie's patch to de-constify Type, with a few tweaks.
|
14 vuotta sitten |
Jay Foad
|
a3efbb15dd
Convert CallInst and InvokeInst APIs to use ArrayRef.
|
14 vuotta sitten |
Rafael Espindola
|
77a2c372fa
Add r134057 back, but splice the predecessor after the successors phi
|
14 vuotta sitten |
Chad Rosier
|
ce77aa3edc
Temporarily revert r134057: "Let simplify cfg simplify bb with only debug and
|
14 vuotta sitten |
Rafael Espindola
|
0fb7dcd48f
Let simplify cfg simplify bb with only debug and lifetime intrinsics.
|
14 vuotta sitten |
Hans Wennborg
|
448da519cc
Fix PR10103: Less code for enum type translation.
|
14 vuotta sitten |
Bill Wendling
|
6a648b8538
If the block that we're threading through is jumped to by an indirect branch,
|
14 vuotta sitten |
Frits van Bommel
|
5649ba70fb
Add a parameter to ConstantFoldTerminator() that callers can use to ask it to also clean up the condition of any conditional terminator it folds to be unconditional, if that turns the condition into dead code. This just means it calls RecursivelyDeleteTriviallyDeadInstructions() in strategic spots. It defaults to the old behavior.
|
14 vuotta sitten |