Skip to content

Commit dd6087c

Browse files
Revert "[BitCode] decode nossp fn attr"
This reverts commit 0b11d01. Going with a simpler approach.
1 parent 49439ff commit dd6087c

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,8 +1537,6 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
15371537
return Attribute::ByRef;
15381538
case bitc::ATTR_KIND_MUSTPROGRESS:
15391539
return Attribute::MustProgress;
1540-
case bitc::ATTR_KIND_NO_STACK_PROTECT:
1541-
return Attribute::NoStackProtect;
15421540
}
15431541
}
15441542

llvm/test/Bitcode/attributes.ll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,6 @@ define void @f68() mustprogress
404404
ret void
405405
}
406406

407-
; CHECK; define void @f69() #42
408-
define void @f69() nossp
409-
{
410-
ret void
411-
}
412-
413407
; CHECK: attributes #0 = { noreturn }
414408
; CHECK: attributes #1 = { nounwind }
415409
; CHECK: attributes #2 = { readnone }
@@ -452,5 +446,4 @@ define void @f69() nossp
452446
; CHECK: attributes #39 = { sanitize_memtag }
453447
; CHECK: attributes #40 = { null_pointer_is_valid }
454448
; CHECK: attributes #41 = { mustprogress }
455-
; CHECK: attributes #42 = { nossp }
456449
; CHECK: attributes #[[NOBUILTIN]] = { nobuiltin }

0 commit comments

Comments
 (0)