summaryrefslogtreecommitdiff
path: root/test/Assembler
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-09-07 00:25:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-09-07 00:25:48 +0000
commit9401181aedb28198ceac56522f997899c426fc5e (patch)
tree8eca117a522fe4cf4ec8c6b576468698f373ee20 /test/Assembler
parent1abf0afdd4d8e9d58518a878f30b9eede81303cc (diff)
downloadllvm-9401181aedb28198ceac56522f997899c426fc5e.tar.gz
llvm-9401181aedb28198ceac56522f997899c426fc5e.tar.bz2
llvm-9401181aedb28198ceac56522f997899c426fc5e.tar.xz
Remove verifier check that attribute 'builtin' is only applied to calls to
functions marked 'nobuiltin'. That approach doesn't play well with LTO, and there's no harm in marking a call as 'builtin' if it was going to be a builtin regardless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/attribute-builtin.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/Assembler/attribute-builtin.ll b/test/Assembler/attribute-builtin.ll
index f31596ce69..01c8a6bd86 100644
--- a/test/Assembler/attribute-builtin.ll
+++ b/test/Assembler/attribute-builtin.ll
@@ -28,8 +28,6 @@ define i8* @bar(i8* %x) {
; RUN: not llvm-as <%s 2>&1 | FileCheck -check-prefix=CHECK-BAD %s
-; CHECK-BAD: Attribute 'builtin' can only be used in a call to a function with the 'nobuiltin' attribute.
-; CHECK-BAD-NEXT: %y = call i8* @lar(i8* %x) #1
; CHECK-BAD: Attribute 'builtin' can only be applied to a callsite.
; CHECK-BAD-NEXT: i8* (i8*)* @car
; CHECK-BAD: Attribute 'builtin' can only be applied to a callsite.