diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-31 10:12:51 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-31 10:12:51 +0000 |
commit | beb296bea1b26c3c047ea4d0937a25426b4d7f5b (patch) | |
tree | 170e7c42c8afc1da6efbef2ab999a1778747809c /llvm/lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | e53429a13e46f347021525b75579981d1890f1a0 (diff) | |
download | llvm-beb296bea1b26c3c047ea4d0937a25426b4d7f5b.zip llvm-beb296bea1b26c3c047ea4d0937a25426b4d7f5b.tar.gz llvm-beb296bea1b26c3c047ea4d0937a25426b4d7f5b.tar.bz2 |
Add the PPC lfiwax instruction
This instruction is available on modern PPC64 CPUs, and is now used
to improve the SINT_TO_FP lowering (by eliminating the need for the
separate sign extension instruction and decreasing the amount of
needed stack space).
llvm-svn: 178446
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index b793c37..57e18ed 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp @@ -39,6 +39,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU, , HasQPX(false) , HasFSQRT(false) , HasSTFIWX(false) + , HasLFIWAX(false) , HasFPRND(false) , HasISEL(false) , HasPOPCNTD(false) |