Skip to content

Merge r323706 into the 6.0 branch #35490

@llvmbot

Description

@llvmbot
Bugzilla Link 36142
Resolution FIXED
Resolved on Jan 30, 2018 07:29
Version 6.0
OS Linux
Blocks #35152
Reporter LLVM Bugzilla Contributor
CC @zmodem,@arsenm

Extended Description

Please merge r323706 to fix the llvm.amdgcn.kill intrinsic being broken in some scenarios. Commit message:

"AMDGPU: Allow a SGPR for the conditional KILL operand

Patch by: Bas Nieuwenhuizen

Just use the _e64 variant if needed. This should be possible as per

def : Pat <
(int_amdgcn_kill (i1 (setcc f32:$src, InlineFPImm:$imm, cond:$cond))),
(SI_KILL_F32_COND_IMM_PSEUDO $src, (bitcast_fpimm_to_i32 $imm), (cond_as_i32imm $cond))

;

I don't think we can get an immediate for the other operand for which we
need the second 32-bit word."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions