mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
begining alpha subtarget support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -27,8 +27,6 @@ using namespace llvm;
|
||||
|
||||
namespace llvm {
|
||||
extern cl::opt<bool> EnableAlphaIDIV;
|
||||
extern cl::opt<bool> EnableAlphaFTOI;
|
||||
extern cl::opt<bool> EnableAlphaCT;
|
||||
extern cl::opt<bool> EnableAlphaCount;
|
||||
extern cl::opt<bool> EnableAlphaLSMark;
|
||||
}
|
||||
@@ -73,7 +71,7 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
|
||||
|
||||
setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand);
|
||||
|
||||
if (!EnableAlphaCT) {
|
||||
if (!TM.getSubtarget<AlphaSubtarget>().hasCT()) {
|
||||
setOperationAction(ISD::CTPOP , MVT::i64 , Expand);
|
||||
setOperationAction(ISD::CTTZ , MVT::i64 , Expand);
|
||||
setOperationAction(ISD::CTLZ , MVT::i64 , Expand);
|
||||
|
Reference in New Issue
Block a user