Fix TableGen so that it will emit the correct signature for FastEmit_f:
authorCameron Zwarich <zwarich@apple.com>
Sat, 7 Jan 2012 08:18:37 +0000 (08:18 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sat, 7 Jan 2012 08:18:37 +0000 (08:18 +0000)
commite47e682bec7fe906c6a1e45991ad8a3a42d5b300
tree53a461578322ded214149e6e9698a51d33ccef21
parent434fb37bb4a1025eca9f0179d71cd3a711829c40
Fix TableGen so that it will emit the correct signature for FastEmit_f:

  /// FastEmit_f - This method is called by target-independent code
  /// to request that an instruction with the given type, opcode, and
  /// floating-point immediate operand be emitted.
  virtual unsigned FastEmit_f(MVT VT,
                              MVT RetVT,
                              unsigned Opcode,
                              const ConstantFP *FPImm);

Currently, it emits an accidentally overloaded version without the const on the
ConstantFP*. This doesn't affect anything in the tree, since nothing causes that
method to be autogenerated, but I have been playing with some ARM TableGen
refactorings that hit this problem.

llvm-svn: 147727
llvm/utils/TableGen/FastISelEmitter.cpp