mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
14 lines
319 B
LLVM
14 lines
319 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt < %s -gvn -S | FileCheck %s
|
|
|
|
define i1 @foo() {
|
|
; CHECK-LABEL: @foo(
|
|
; CHECK-NEXT: call void @llvm.assume(i1 undef)
|
|
; CHECK-NEXT: ret i1 undef
|
|
;
|
|
call void @llvm.assume(i1 undef)
|
|
ret i1 undef
|
|
}
|
|
|
|
declare void @llvm.assume(i1)
|