diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-07-02 16:48:09 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-07-02 17:05:24 -0400 |
commit | bc110de78a4bf47f63267eae07ef02f14bcc78e3 (patch) | |
tree | 110d9593e062342384684ef49d6782966d4282ff /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
parent | 6076fc698df4adb62b2496dcd5f84e778ddc60af (diff) | |
download | llvm-bc110de78a4bf47f63267eae07ef02f14bcc78e3.zip llvm-bc110de78a4bf47f63267eae07ef02f14bcc78e3.tar.gz llvm-bc110de78a4bf47f63267eae07ef02f14bcc78e3.tar.bz2 |
[SelectionDAG] don't split branch on logic-of-vector-compares
SelectionDAGBuilder converts logic-of-compares into multiple branches based
on a boolean TLI setting in isJumpExpensive(). But that probably never
considered the pattern of extracted bools from a vector compare - it seems
unlikely that we would want to turn vector logic into control-flow.
The motivating x86 reduction case is shown in PR44565:
https://bugs.llvm.org/show_bug.cgi?id=44565
...and that test shows the expected improvement from using pmovmsk codegen.
For AArch64, I modified the test to include an extra op because the simpler
test gets transformed by a codegen invocation of SimplifyCFG.
Differential Revision: https://reviews.llvm.org/D82602
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions