Issue |
82982
|
Summary |
COMPILETIME ERROR, llvm-17, vector <8 x i3>, insertelement instruction after load, code emition
|
Labels |
new issue
|
Assignees |
|
Reporter |
sidtvera
|
Compiletime error for vector <8 x i3>
[vec8i3.zip](https://github.com/llvm/llvm-project/files/14403412/vec8i3.zip)
```
$ clang -O1 -S vec8i3.ll
```
In function ScheduleDAGMILive::updatePressureDiffs for test-function @ins2:
```
4 libLLVM-17.so.1 0x00007f4e50cf92f7 llvm::ScheduleDAGMILive::updatePressureDiffs(llvm::ArrayRef<llvm::RegisterMaskPair>) + 1351
5 libLLVM-17.so.1 0x00007f4e50cf9f1a llvm::ScheduleDAGMILive::scheduleMI(llvm::SUnit*, bool) + 1146
6 libLLVM-17.so.1 0x00007f4e50cf98b1 llvm::ScheduleDAGMILive::schedule() + 337
```
Problem test function:
```
define void @ins2( <8 x i3>* %a, i3 %b, i32 %c) {
%x = load <8 x i3>, <8 x i3>* %a
%y = insertelement <8 x i3> %y, i3 %b, i32 %c
store <8 x i3> %y, <8 x i3>* %a
ret void
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs