[all-commits] [llvm/llvm-project] 05f987: [X86] Add handling for shift_logical(select(icmp_u...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Jul 12 07:23:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05f987743170cbd9fc97699c7a9b352055de7300
https://github.com/llvm/llvm-project/commit/05f987743170cbd9fc97699c7a9b352055de7300
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-shl.ll
M llvm/test/CodeGen/X86/combine-srl.ll
Log Message:
-----------
[X86] Add handling for shift_logical(select(icmp_uge(amt,BW),0,x),amt) -> avx2 shift(x,amt)
We need to catch this otherwise pre-AVX512 targets will fold this to shift_logical(and(icmp_ult(amt,BW),x),amt)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list