| Issue |
233679
|
| Summary |
llubi accepts a poison integer in an assume noundef operand bundle
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
Roticv912
|
An llvm.assume call with a noundef operand bundle containing i32 poison completes without reporting undefined behavior.
### Program
```
declare void @llvm.assume(i1)
define i32 @main() {
entry:
call void @llvm.assume(i1 true) ["noundef"(i32 poison)]
ret i32 0
}
```
### Output
```
Entering function: main
call void @llvm.assume(i1 true) [ "noundef"(i32 poison) ]
ret i32 0
Exiting function: main
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs