[llvm] [GlobalISel] Introduce `G_POISON` (PR #127825)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 21 04:10:43 PDT 2025
Mateusz =?utf-8?q?Sokół?= <mat646 at gmail.com>,
Mateusz =?utf-8?q?Sokół?= <mat646 at gmail.com>,
Mateusz =?utf-8?q?Sokół?= <mat646 at gmail.com>,
Mateusz =?utf-8?q?Sokół?= <mat646 at gmail.com>,
Mateusz =?utf-8?q?Sokół?= <mat646 at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/127825 at github.com>
================
@@ -1566,6 +1568,7 @@ bool llvm::isAllOnesOrAllOnesSplat(const MachineInstr &MI,
const MachineRegisterInfo &MRI,
bool AllowUndefs) {
switch (MI.getOpcode()) {
+ case TargetOpcode::G_POISON:
----------------
arsenm wrote:
This will need revisiting, poison could be more aggressive here
https://github.com/llvm/llvm-project/pull/127825
More information about the llvm-commits
mailing list