[clang] [llvm] [Inliner] Propagate more attributes to params when inlining (PR #91101)

Arthur Eubanks via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 16 14:21:31 PDT 2024


aeubanks wrote:

This causes broken IR:
```
$ opt -O3 -disable-output /tmp/a.ll
Range bit width must match type bit width!                                  
  tail call void @llvm.memset.p0.i64(ptr noundef align 1 %dst, i8 noundef range(i32 0, 256) %v8, i64 noundef range(i64 -2147483648, 2147483648) %conv1, i1 noundef false) #9
LLVM ERROR: Broken module found, compilation aborted!                                                                                                    
```
[a.ll.txt](https://github.com/user-attachments/files/17402918/a.ll.txt)



https://github.com/llvm/llvm-project/pull/91101


More information about the cfe-commits mailing list