mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
make the asmparser reject function and type redefinitions. 'Merging' hasn't been
needed since llvm-gcc 3.4 days. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,10 +50,6 @@ entry:
|
||||
}
|
||||
|
||||
; PR5284
|
||||
declare i64 @llvm.bswap.i64(i64)
|
||||
declare i32 @llvm.bswap.i32(i32)
|
||||
declare i16 @llvm.bswap.i16(i16)
|
||||
|
||||
define i16 @test7(i32 %A) {
|
||||
%B = tail call i32 @llvm.bswap.i32(i32 %A) nounwind
|
||||
%C = trunc i32 %B to i16
|
||||
|
||||
@@ -213,5 +213,4 @@ define i32 @cttz_simplify1(i32 %x) nounwind readnone ssp {
|
||||
; CHECK-NEXT: ret i32
|
||||
}
|
||||
|
||||
declare i32 @llvm.ctlz.i32(i32) nounwind readnone
|
||||
|
||||
|
||||
@@ -149,8 +149,6 @@ declare i8* @__memset_chk(i8*, i32, i32, i32) nounwind
|
||||
|
||||
declare noalias i8* @malloc(i32) nounwind
|
||||
|
||||
declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readonly
|
||||
|
||||
define i32 @test7() {
|
||||
; CHECK: @test7
|
||||
%alloc = call noalias i8* @malloc(i32 48) nounwind
|
||||
|
||||
Reference in New Issue
Block a user