lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.37k stars 156 forks source link

Fix LLVM code generation error in List comparsion #2697

Closed hankluo6 closed 1 month ago

hankluo6 commented 1 month ago

Fixes: #2676

There was an issue where builder0 and builder shared the same insertion point. As a result, builder0 would append alloca instruction after instructions created by builder.