diff options
author | Florian Hahn <flo@fhahn.com> | 2022-12-06 23:47:23 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-12-06 23:47:24 +0000 |
commit | 9eda78107c4d9baca947b7bd9e0ce1c72474a59b (patch) | |
tree | 1d2e1fd94468ff288e212e73a7c1e3303efd2de5 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 8d30b9e64f7e4140c5eba9099b9a26ac7f806233 (diff) | |
download | llvm-9eda78107c4d9baca947b7bd9e0ce1c72474a59b.zip llvm-9eda78107c4d9baca947b7bd9e0ce1c72474a59b.tar.gz llvm-9eda78107c4d9baca947b7bd9e0ce1c72474a59b.tar.bz2 |
[ConstraintElim] Fix sort order to not comparing insts in different bbs.
Update the sort order to make sure that comesBefore is never used from
conditional facts, which are instructions but may use DFS numbers from
different blocks.
This fixes a crash in the added test on some platforms.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions