You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
28
external/llvm/test/Bitcode/flags.ll
vendored
Normal file
28
external/llvm/test/Bitcode/flags.ll
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
; RUN: llvm-as < %s | llvm-dis > %t0
|
||||
; RUN: opt -S < %s > %t1
|
||||
; RUN: diff %t0 %t1
|
||||
; RUN: verify-uselistorder < %s
|
||||
; PR6140
|
||||
|
||||
; Make sure the flags are serialized/deserialized properly for both
|
||||
; forward and backward references.
|
||||
|
||||
define void @foo() nounwind {
|
||||
entry:
|
||||
br label %first
|
||||
|
||||
second: ; preds = %first
|
||||
%u = add nuw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%s = add nsw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%us = add nuw nsw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%z = add i32 %a, 0 ; <i32> [#uses=0]
|
||||
unreachable
|
||||
|
||||
first: ; preds = %entry
|
||||
%a = bitcast i32 0 to i32 ; <i32> [#uses=8]
|
||||
%uu = add nuw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%ss = add nsw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%uuss = add nuw nsw i32 %a, 0 ; <i32> [#uses=0]
|
||||
%zz = add i32 %a, 0 ; <i32> [#uses=0]
|
||||
br label %second
|
||||
}
|
Reference in New Issue
Block a user