[all-commits] [llvm/llvm-project] fbf0a7: [CodeGen] Avoid potential sideeffects from XOR (#6...
Bill Wendling via All-commits
all-commits at lists.llvm.org
Tue Oct 17 12:03:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbf0a77e80f18a6d0fd8a28833b0bc87a99b1b2f
https://github.com/llvm/llvm-project/commit/fbf0a77e80f18a6d0fd8a28833b0bc87a99b1b2f
Author: Bill Wendling <5993918+bwendling at users.noreply.github.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.h
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
Log Message:
-----------
[CodeGen] Avoid potential sideeffects from XOR (#67193)
XOR may change flag values (e.g. for X86 gprs). In the case where that's
not desirable, specify that buildClearRegister() should use MOV instead.
More information about the All-commits
mailing list