[PATCH] D55474: [AMDGPU] Extend constant folding for logical operations

Graham Sellers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 9 03:51:04 PST 2018


grahamsellers updated this revision to Diff 177407.
grahamsellers added a comment.

Ran constant-fold-imm-immreg.mir through llc -run-pass none and fixed up the result as requested. This adds register info to the virtual registers and allows deletion of the register sections of the resulting file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55474/new/

https://reviews.llvm.org/D55474

Files:
  lib/Target/AMDGPU/SIFoldOperands.cpp
  test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55474.177407.patch
Type: text/x-patch
Size: 55811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181209/4b05913c/attachment-0001.bin>


More information about the llvm-commits mailing list