search for: selectionallbasicblock

Displaying 1 result from an estimated 1 matches for "selectionallbasicblock".

2016 Mar 26
0
[SSP] Simplifying SSP code paths
...imization and single code path in SelectionDAG, we need to generate trivial IR (declarations for global variables and alloca of canary variable). *Promising Solution*: Generating trivial IR, and let each of FastISel and SelectionDAG has one code path. SelectionDAG signals FastISel to handle SSP in SelectionAllBasicBlock(). If FastISel fails to handle that, it fallbacks to full SelectionDAG approach. Seems perfect? *My current concern* is, I don't know how to handle branch weight in FastISel. See: https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/StackProtector.cpp#L461. If we can't handle branch...