Skip to content

Commit 3904633

Browse files
committed
Remove cargo cult attribute; test for no DCE at O2
1 parent f2e60ac commit 3904633

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llvm/include/llvm/IR/Intrinsics.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ def int_stepvector : DefaultAttrsIntrinsic<[llvm_anyvector_ty],
19141914
[], [IntrNoMem]>;
19151915

19161916
def int_reloc_none : DefaultAttrsIntrinsic<[], [llvm_metadata_ty],
1917-
[IntrHasSideEffects, IntrInaccessibleMemOnly, IntrWillReturn]>;
1917+
[IntrNoMem]>;
19181918

19191919
//===---------------- Vector Predication Intrinsics --------------===//
19201920
// Memory Intrinsics

llvm/test/CodeGen/Generic/reloc-none.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
; RUN: llc < %s | FileCheck %s
2+
; RUN: llc -O2 < %s | FileCheck %s
23

34
; CHECK: .reloc {{.*}}, BFD_RELOC_NONE, foo
45

0 commit comments

Comments
 (0)