diff options
author | Eric Christopher <echristo@gmail.com> | 2014-07-10 17:26:51 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-07-10 17:26:51 +0000 |
commit | 22405e4bbf91473aabcb9c8e54b79548871b8d61 (patch) | |
tree | 1bcfa48591da612902512b8e43c7699ba10afc9c /llvm/lib/Target/Mips/MipsInstrFPU.td | |
parent | 581badce4be5243cd9af31277a99e80f9f0180e6 (diff) | |
download | bcm5719-llvm-22405e4bbf91473aabcb9c8e54b79548871b8d61.tar.gz bcm5719-llvm-22405e4bbf91473aabcb9c8e54b79548871b8d61.zip |
Make it possible for the Subtarget to change between function
passes in the mips back end. This, unfortunately, required a
bit of churn in the various predicates to use a pointer rather
than a reference.
llvm-svn: 212744
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrFPU.td')
-rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFPU.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFPU.td b/llvm/lib/Target/Mips/MipsInstrFPU.td index aa8f053327f..2260d53567f 100644 --- a/llvm/lib/Target/Mips/MipsInstrFPU.td +++ b/llvm/lib/Target/Mips/MipsInstrFPU.td @@ -57,13 +57,13 @@ let PrintMethod = "printFCCOperand", DecoderMethod = "DecodeCondCode" in // Feature predicates. //===----------------------------------------------------------------------===// -def IsFP64bit : Predicate<"Subtarget.isFP64bit()">, +def IsFP64bit : Predicate<"Subtarget->isFP64bit()">, AssemblerPredicate<"FeatureFP64Bit">; -def NotFP64bit : Predicate<"!Subtarget.isFP64bit()">, +def NotFP64bit : Predicate<"!Subtarget->isFP64bit()">, AssemblerPredicate<"!FeatureFP64Bit">; -def IsSingleFloat : Predicate<"Subtarget.isSingleFloat()">, +def IsSingleFloat : Predicate<"Subtarget->isSingleFloat()">, AssemblerPredicate<"FeatureSingleFloat">; -def IsNotSingleFloat : Predicate<"!Subtarget.isSingleFloat()">, +def IsNotSingleFloat : Predicate<"!Subtarget->isSingleFloat()">, AssemblerPredicate<"!FeatureSingleFloat">; //===----------------------------------------------------------------------===// |