New PM pass that promotes small integer types that would otherwise be promoted during legalization.
Declared in <llvm/CodeGen/TypePromotion.h>
class TypePromotionPass
: public OptionalPassInfoMixin<TypePromotionPass>
Works around SelectionDAG limitations for cyclic regions by promoting non-wrapping or safely wrapping instruction trees rooted at icmp operands.
| Name | Description |
|---|---|
OptionalPassInfoMixin<TypePromotionPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
TypePromotionPass [constructor] | Construct a TypePromotion pass for target machine TM. |
run | Promote small integer types in F when profitable for the target. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |