repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SCCP
/
2006-12-19-UndefBug.ll
blob
0f3eea9aee144e7e79b06169b416957ffb67352a
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
; RUN: opt < %s -passes=sccp -S | FileCheck %s
3
4
define i1 @foo() {
5
; CHECK-LABEL: @foo(
6
; CHECK-NEXT: [[X:%.*]] = and i1 false, undef
7
; CHECK-NEXT: ret i1 [[X]]
8
;
9
%X = and i1 false, undef ; <i1> [#uses=1]
10
ret i1 %X
11
}
12