File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/executable/mlir/Target/PythonBytecode Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1818 run : |
1919 wget https://apt.llvm.org/llvm.sh
2020 chmod +x llvm.sh
21- sudo ./llvm.sh 20 all
21+ sudo ./llvm.sh 20
2222 sudo apt install libmlir-20-dev mlir-20-tools
2323
2424 - name : Configure CMake
Original file line number Diff line number Diff line change @@ -390,10 +390,9 @@ struct LiveIntervalAnalysis
390390 bool overlaps (const LiveInterval &other) const
391391 {
392392 // naive quadratic search
393- for (const auto &[start, end] : intervals) {
394- for (const auto &[other_start, other_end] : other.intervals ) {
395- if (other_start >= start && other_start <= end) { return true ; }
396- if (other_end >= start && other_end <= end) { return true ; }
393+ for (const auto &[a, b] : intervals) {
394+ for (const auto &[c, d] : other.intervals ) {
395+ if (a < d && c < b) { return true ; }
397396 }
398397 }
399398
You can’t perform that action at this time.
0 commit comments