Skip to content

Commit 072fa6d

Browse files
committed
fix conflcits, lit test
1 parent dfd73d7 commit 072fa6d

File tree

7 files changed

+1094
-1866
lines changed

7 files changed

+1094
-1866
lines changed

clang/test/Driver/linker-wrapper.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// REQUIRES: x86-registered-target
33
// REQUIRES: nvptx-registered-target
44
// REQUIRES: amdgpu-registered-target
5-
<<<<<<< HEAD
6-
// REQUIRES: system-linux
7-
=======
8-
>>>>>>> ce9e1d3c15ed6290f1cb07b482939976fa8115cd
95

106
// An externally visible variable so static libraries extract.
117
__attribute__((visibility("protected"), used)) int x;

clang/test/OpenMP/irbuilder_nested_parallel_for.c

Lines changed: 1092 additions & 1830 deletions
Large diffs are not rendered by default.

llvm/include/llvm/Support/Caching.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ class CachedFileStream {
3131
CachedFileStream(std::unique_ptr<raw_pwrite_stream> OS,
3232
std::string OSPath = "")
3333
: OS(std::move(OS)), ObjectPathName(OSPath) {}
34-
<<<<<<< HEAD
35-
virtual Error commit() { return Error::success(); }
36-
=======
3734

3835
/// Must be called exactly once after the writes to OS have been completed
3936
/// but before the CachedFileStream object is destroyed.
@@ -47,7 +44,6 @@ class CachedFileStream {
4744
}
4845

4946
bool Committed = false;
50-
>>>>>>> ce9e1d3c15ed6290f1cb07b482939976fa8115cd
5147
std::unique_ptr<raw_pwrite_stream> OS;
5248
std::string ObjectPathName;
5349
virtual ~CachedFileStream() {

llvm/lib/Debuginfod/Debuginfod.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,11 @@ class StreamedHTTPResponseHandler : public HTTPResponseHandler {
188188
public:
189189
StreamedHTTPResponseHandler(CreateStreamFn CreateStream, HTTPClient &Client)
190190
: CreateStream(CreateStream), Client(Client) {}
191-
<<<<<<< HEAD
192-
Error commit();
193-
=======
194191

195192
/// Must be called exactly once after the writes have been completed
196193
/// but before the StreamedHTTPResponseHandler object is destroyed.
197194
Error commit();
198195

199-
>>>>>>> ce9e1d3c15ed6290f1cb07b482939976fa8115cd
200196
virtual ~StreamedHTTPResponseHandler() = default;
201197

202198
Error handleBodyChunk(StringRef BodyChunk) override;

llvm/lib/Support/Caching.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,9 @@ Expected<FileCache> llvm::localCache(const Twine &CacheNameRef,
9090
ModuleName(ModuleName), Task(Task) {}
9191

9292
Error commit() override {
93-
<<<<<<< HEAD
94-
if (Committed)
95-
return Error::success();
96-
Committed = true;
97-
=======
9893
Error E = CachedFileStream::commit();
9994
if (E)
10095
return E;
101-
>>>>>>> ce9e1d3c15ed6290f1cb07b482939976fa8115cd
10296

10397
// Make sure the stream is closed before committing it.
10498
OS.reset();
@@ -148,21 +142,6 @@ Expected<FileCache> llvm::localCache(const Twine &CacheNameRef,
148142

149143
AddBuffer(Task, ModuleName, std::move(*MBOrErr));
150144
return Error::success();
151-
<<<<<<< HEAD
152-
}
153-
154-
~CacheStream() {
155-
// In Debug builds, try to track down places where commit() was not
156-
// called before destruction.
157-
assert(Committed);
158-
// In Release builds, fall back to the previous behaviour of committing
159-
// during destruction and reporting errors with report_fatal_error.
160-
if (Committed)
161-
return;
162-
if (Error Err = commit())
163-
report_fatal_error(Twine(toString(std::move(Err))));
164-
=======
165-
>>>>>>> ce9e1d3c15ed6290f1cb07b482939976fa8115cd
166145
}
167146
};
168147

llvm/test/CodeGen/AMDGPU/dbg-info-inline-at.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ define amdgpu_kernel void @_Z3fooPiiii(ptr addrspace(1) nocapture noundef writeo
1111
; CHECK-NEXT: .cfi_escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02 ;
1212
; CHECK-NEXT: .cfi_undefined 16
1313
; CHECK-NEXT: .file 1 "." "a.h"
14-
; CHECK-NEXT: .loc 1 5 12 prologue_end ; ./a.h:5:12 @[ a.hip:12:8 ]
14+
; CHECK-NEXT: .loc 1 5 12 prologue_end ; ./a.h:5:12
1515
; CHECK-NEXT: s_load_dwordx4 s[0:3], s[8:9], 0x8
1616
; CHECK-NEXT: s_load_dwordx2 s[4:5], s[8:9], 0x0
1717
; CHECK-NEXT: v_mov_b32_e32 v0, 0
1818
; CHECK-NEXT: s_waitcnt lgkmcnt(0)
1919
; CHECK-NEXT: s_add_i32 s1, s1, s0
2020
; CHECK-NEXT: .Ltmp0:
21-
; CHECK-NEXT: .loc 1 5 12 is_stmt 0 ; ./a.h:5:12 @[ a.hip:13:9 ]
21+
; CHECK-NEXT: .loc 1 5 12 is_stmt 0 ; ./a.h:5:12
2222
; CHECK-NEXT: s_add_i32 s0, s2, s0
2323
; CHECK-NEXT: .Ltmp1:
2424
; CHECK-NEXT: .file 2 "a.hip"

llvm/test/ThinLTO/AArch64/cgdata-two-rounds-caching.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
; This test verifies whether we can outline a singleton instance (i.e., an instance that does not repeat)
22
; by running two codegen rounds.
33
; This test also verifies if caches for the two-round codegens are correctly working.
4-
; XFAIL: *
54
; REQUIRES: asserts
65
; RUN: rm -rf %t
76
; RUN: split-file %s %t

0 commit comments

Comments
 (0)