Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit 1684c2c

Browse files
author
Dylan McKay
committed
Fix up a bunch of bad old merge conflict resolutions
These were found by looking at the diff between `master` and `avr-support`
1 parent 0242697 commit 1684c2c

14 files changed

+13
-589
lines changed

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Overview
22
========
33

4+
.. warning::
5+
6+
If you are using a released version of LLVM, see `the download page
7+
<http://llvm.org/releases/>`_ to find your documentation.
8+
49
The LLVM compiler infrastructure supports a wide range of projects, from
510
industrial strength compilers to specialized JIT applications to small
611
research projects.

lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,6 @@ void GCNPassConfig::addIRPasses() {
521521
AMDGPUPassConfig::addIRPasses();
522522
}
523523

524-
void GCNPassConfig::addIRPasses() {
525-
// TODO: May want to move later or split into an early and late one.
526-
addPass(createAMDGPUCodeGenPreparePass(&getGCNTargetMachine()));
527-
528-
AMDGPUPassConfig::addIRPasses();
529-
}
530-
531524
bool GCNPassConfig::addInstSelector() {
532525
AMDGPUPassConfig::addInstSelector();
533526
addPass(createSILowerI1CopiesPass());

lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,6 @@ MCInst deriveSubInst(MCInst const &Inst);
8989
// Return the extender for instruction at Index or nullptr if none
9090
MCInst const *extenderForIndex(MCInst const &MCB, size_t Index);
9191

92-
// Return the extender for instruction at Index or nullptr if none
93-
MCInst const *extenderForIndex(MCInst const &MCB, size_t Index);
94-
95-
// Create a duplex instruction given the two subinsts
96-
MCInst *deriveDuplex(MCContext &Context, unsigned iClass, MCInst const &inst0,
97-
MCInst const &inst1);
98-
99-
// Convert this instruction in to a duplex subinst
100-
MCInst deriveSubInst(MCInst const &Inst);
101-
10292
// Return memory access size
10393
HexagonII::MemAccessSize getAccessSize(MCInstrInfo const &MCII,
10494
MCInst const &MCI);

lib/Target/Mips/MipsSubtarget.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ CodeGenOpt::Level MipsSubtarget::getOptLevelToEnablePostRAScheduler() const {
146146
MipsSubtarget &
147147
MipsSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS,
148148
const TargetMachine &TM) {
149-
std::string CPUName =
150-
MIPS_MC::selectMipsCPU(Triple(TM.getTargetTriple()), CPU);
149+
std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU);
151150

152151
// Parse features string.
153152
ParseSubtargetFeatures(CPUName, FS);

lib/Transforms/Utils/LCSSA.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,6 @@ bool llvm::formLCSSAForInstructions(SmallVectorImpl<Instruction *> &Worklist,
192192

193193
// Otherwise, do full PHI insertion.
194194
SSAUpdate.RewriteUse(*UseToRewrite);
195-
196-
// SSAUpdater might have inserted phi-nodes inside other loops. We'll need
197-
// to post-process them to keep LCSSA form.
198-
for (PHINode *InsertedPN : InsertedPHIs) {
199-
if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent()))
200-
if (!L->contains(OtherLoop))
201-
PostProcessPHIs.push_back(InsertedPN);
202-
}
203195
}
204196

205197
// SSAUpdater might have inserted phi-nodes inside other loops. We'll need

test/CodeGen/R600/cgp-addressing-modes.ll

Lines changed: 0 additions & 242 deletions
This file was deleted.

test/CodeGen/R600/trunc-store-f64-to-f16.ll

Lines changed: 0 additions & 56 deletions
This file was deleted.

test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ define void @test_x86_sse2_storeu_dq(i8* %a0, <16 x i8> %a1) {
388388
; CHECK-LABEL: test_x86_sse2_storeu_dq:
389389
; CHECK: ## BB#0:
390390
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
391-
; CHECK-NEXT: vpaddb LCPI32_0, %xmm0, %xmm0
391+
; CHECK-NEXT: vpaddb LCPI34_0, %xmm0, %xmm0
392392
; CHECK-NEXT: vmovdqu %xmm0, (%eax)
393393
; CHECK-NEXT: retl
394394
%a2 = add <16 x i8> %a1, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>

test/CodeGen/X86/avx-intrinsics-x86.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4549,15 +4549,15 @@ define void @movnt_dq(i8* %p, <2 x i64> %a1) nounwind {
45494549
; AVX-LABEL: movnt_dq:
45504550
; AVX: ## BB#0:
45514551
; AVX-NEXT: movl {{[0-9]+}}(%esp), %eax
4552-
; AVX-NEXT: vpaddq LCPI256_0, %xmm0, %xmm0
4552+
; AVX-NEXT: vpaddq LCPI254_0, %xmm0, %xmm0
45534553
; AVX-NEXT: vmovntdq %ymm0, (%eax)
45544554
; AVX-NEXT: vzeroupper
45554555
; AVX-NEXT: retl
45564556
;
45574557
; AVX512VL-LABEL: movnt_dq:
45584558
; AVX512VL: ## BB#0:
45594559
; AVX512VL-NEXT: movl {{[0-9]+}}(%esp), %eax
4560-
; AVX512VL-NEXT: vpaddq LCPI256_0, %xmm0, %xmm0
4560+
; AVX512VL-NEXT: vpaddq LCPI254_0, %xmm0, %xmm0
45614561
; AVX512VL-NEXT: vmovntdq %ymm0, (%eax)
45624562
; AVX512VL-NEXT: retl
45634563
%a2 = add <2 x i64> %a1, <i64 1, i64 1>

0 commit comments

Comments
 (0)