[all-commits] [llvm/llvm-project] ba769e: [X86] combinePTESTCC - canonicalize constants to t...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Oct 29 11:16:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba769e125b106c059321de16a760658449b02c8a
https://github.com/llvm/llvm-project/commit/ba769e125b106c059321de16a760658449b02c8a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] combinePTESTCC - canonicalize constants to the RHS if the PTEST/TESTP node just uses the ZF flag (#165601)
If we're just comparing against zero then move the constant to the RHS to reduce duplicated folds.
Noticed while triaging #156233
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