freebsd-skq/contrib/llvm/lib/Target/PowerPC
dim c4c1c28548 MFC r267981:
Pull in r211627 from upstream llvm trunk (by Bill Schmidt):

  [PPC64] Fix PR20071 (fctiduz generated for targets lacking that
  instruction)

  PR20071 identifies a problem in PowerPC's fast-isel implementation
  for floating-point conversion to integer.  The fctiduz instruction
  was added in Power ISA 2.06 (i.e., Power7 and later).  However, this
  instruction is being generated regardless of which 64-bit PowerPC
  target is selected.

  The intent is for fast-isel to punt to DAG selection when this
  instruction is not available.  This patch implements that change.
  For testing purposes, the existing fast-isel-conversion.ll test adds
  a RUN line for -mcpu=970 and tests for the expected code generation.
  Additionally, the existing test fast-isel-conversion-p5.ll was found
  to be incorrectly expecting the unavailable instruction to be
  generated.  I've removed these test variants since we have adequate
  coverage in fast-isel-conversion.ll.

This is needed to compile clang with debug+asserts on older powerpc64
and ppc970 targets.

Requested by:	jhibbits

MFC r267982:

Add the llvm patch for r267981.

MFC r268003:

Fix breakage after r267981.

Pointy hat to:	dim
2014-06-30 20:26:30 +00:00
..
AsmParser MFC 261991: 2014-03-21 17:53:59 +00:00
InstPrinter MFC 261991: 2014-03-21 17:53:59 +00:00
MCTargetDesc MFC r265925: 2014-05-26 20:45:44 +00:00
TargetInfo MFC 261991: 2014-03-21 17:53:59 +00:00
PPC.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPC.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCAsmPrinter.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCBranchSelector.cpp Upgrade our copy of llvm/clang to 3.3 release. 2013-06-12 18:48:53 +00:00
PPCCallingConv.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCCodeEmitter.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCCTRLoops.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCFastISel.cpp MFC r267981: 2014-06-30 20:26:30 +00:00
PPCFrameLowering.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCFrameLowering.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCHazardRecognizers.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCHazardRecognizers.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCInstr64Bit.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCInstrAltivec.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCInstrBuilder.h
PPCInstrFormats.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCInstrInfo.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCInstrInfo.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCInstrInfo.td MFC r265925: 2014-05-26 20:45:44 +00:00
PPCISelDAGToDAG.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCISelLowering.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCISelLowering.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCJITInfo.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCJITInfo.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PPCMachineFunctionInfo.cpp Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
PPCMachineFunctionInfo.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCMCInstLower.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCPerfectShuffle.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
PPCRegisterInfo.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCRegisterInfo.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCRegisterInfo.td MFC r265925: 2014-05-26 20:45:44 +00:00
PPCRelocations.h Upgrade our copy of llvm/clang to trunk r154661, in preparation of the 2012-04-16 21:23:25 +00:00
PPCSchedule440.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
PPCSchedule.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCScheduleA2.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCScheduleE500mc.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCScheduleE5500.td MFC 261991: 2014-03-21 17:53:59 +00:00
PPCScheduleG3.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
PPCScheduleG4.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
PPCScheduleG4Plus.td Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
PPCScheduleG5.td Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PPCSelectionDAGInfo.cpp
PPCSelectionDAGInfo.h
PPCSubtarget.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCSubtarget.h MFC r265925: 2014-05-26 20:45:44 +00:00
PPCTargetMachine.cpp MFC r265925: 2014-05-26 20:45:44 +00:00
PPCTargetMachine.h Upgrade our copy of llvm/clang to trunk r178860, in preparation of the 2013-04-12 17:57:40 +00:00
PPCTargetObjectFile.cpp MFC 261991: 2014-03-21 17:53:59 +00:00
PPCTargetObjectFile.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCTargetStreamer.h MFC 261991: 2014-03-21 17:53:59 +00:00
PPCTargetTransformInfo.cpp MFC 261991: 2014-03-21 17:53:59 +00:00