diff options
author | Tony Jiang <jtony@ca.ibm.com> | 2017-01-16 20:12:26 +0000 |
---|---|---|
committer | Tony Jiang <jtony@ca.ibm.com> | 2017-01-16 20:12:26 +0000 |
commit | 8e8c444d3ddf2c6ca045a2487070e0ac30a63dda (patch) | |
tree | 3cecf7ec2710227b67f20fdd8f9f82877b7021bc /llvm/lib/Target/PowerPC/PPC.h | |
parent | 65cce20caaef97b34d38dcf244f4cb2333514ec7 (diff) | |
download | bcm5719-llvm-8e8c444d3ddf2c6ca045a2487070e0ac30a63dda.tar.gz bcm5719-llvm-8e8c444d3ddf2c6ca045a2487070e0ac30a63dda.zip |
[PowerPC] Expand ISEL instruction into if-then-else sequence.
Generally, the ISEL is expanded into if-then-else sequence, in some
cases (like when the destination register is the same with the true
or false value register), it may just be expanded into just the if
or else sequence.
llvm-svn: 292154
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPC.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC.h b/llvm/lib/Target/PowerPC/PPC.h index e01f49dce81..38ae62b2675 100644 --- a/llvm/lib/Target/PowerPC/PPC.h +++ b/llvm/lib/Target/PowerPC/PPC.h @@ -45,11 +45,13 @@ namespace llvm { FunctionPass *createPPCISelDag(PPCTargetMachine &TM); FunctionPass *createPPCTLSDynamicCallPass(); FunctionPass *createPPCBoolRetToIntPass(); + FunctionPass *createPPCExpandISELPass(); void LowerPPCMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP, bool isDarwin); void initializePPCVSXFMAMutatePass(PassRegistry&); void initializePPCBoolRetToIntPass(PassRegistry&); + void initializePPCExpandISELPass(PassRegistry &); extern char &PPCVSXFMAMutateID; namespace PPCII { |