[all-commits] [llvm/llvm-project] 5b51bd: [TLI] prepareSREMEqFold(): use correct VT for the ...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Mon Jul 19 06:44:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b51bd187894820411ad3edcfd1775a78a4a1424
https://github.com/llvm/llvm-project/commit/5b51bd187894820411ad3edcfd1775a78a4a1424
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2021-07-19 (Mon, 19 Jul 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
Log Message:
-----------
[TLI] prepareSREMEqFold(): use correct VT for the final VSELECT (PR51133)
We were using the wrong VT for this final VSELECT,
it should be in the final comparison VT,
not the source value's VT.
Fixes https://bugs.llvm.org/show_bug.cgi?id=51133
More information about the All-commits
mailing list