llvm/include
Evan Cheng 014bf215c3 Split SelectionDAGISel::IsLegalAndProfitableToFold to
IsLegalToFold and IsProfitableToFold. The generic version of the later simply checks whether the folding candidate has a single use.

This allows the target isel routines more flexibility in deciding whether folding makes sense. The specific case we are interested in is folding constant pool loads with multiple uses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96255 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-15 19:41:07 +00:00
..
llvm Split SelectionDAGISel::IsLegalAndProfitableToFold to 2010-02-15 19:41:07 +00:00
llvm-c Add support for a union type in LLVM IR. Patch by Talin! 2010-02-12 20:49:41 +00:00