diff options
author | Wang, Xin10 <xin10.wang@intel.com> | 2023-05-16 13:04:35 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-05-16 13:04:44 +0100 |
commit | 8a5450d322c0748d3ee35d66d0d85046b5172538 (patch) | |
tree | b816cd97b240e3573dd2bc355f66aa7d24b71993 /clang/lib/Interpreter/Value.cpp | |
parent | d4a6e4c1eec0f2634febd15725d921d4a25d47e7 (diff) | |
download | llvm-8a5450d322c0748d3ee35d66d0d85046b5172538.zip llvm-8a5450d322c0748d3ee35d66d0d85046b5172538.tar.gz llvm-8a5450d322c0748d3ee35d66d0d85046b5172538.tar.bz2 |
Fix regression after D150436
llvm-clang-x86_64-expensive-checks-debian will fail after D150436 merged.
The fail occurred in X86, I changed the sort rule in AsmMatcher in Patch D150436, so x86 code will arrive line 633 first(will not affect other targets).
The logic here want to use the order record written in source file to make AsmMatcher to first use AVX instructions, it used field HasPositionOrder.
But the condition here just makes sure one of the compared record is subclass of Instruction and has field HasPositionOrder true, and didn't check another.
(Committing on behalf of @XinWang10 to unblock broken expensive-cjhecks builds)
Differential Revision: https://reviews.llvm.org/D150651
Diffstat (limited to 'clang/lib/Interpreter/Value.cpp')
0 files changed, 0 insertions, 0 deletions