[PATCH] D86393: [GISel] Add combines for unary FP instrs with constant operand
    Michael Kitzan via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Sep  4 11:47:12 PDT 2020
    
    
  
mkitzan updated this revision to Diff 290001.
mkitzan added a comment.
- Added `LLT` helper function to get float semantic from scalar `LLT` (IEEE fp semantics only at the moment)
- Updated `constantFoldFpUnary` to use the new helper function
- Rebased / fixed merge conflicts
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86393/new/
https://reviews.llvm.org/D86393
Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/LowLevelType.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/LowLevelType.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-fabs.mir
  llvm/test/CodeGen/AArch64/GlobalISel/combine-flog2.mir
  llvm/test/CodeGen/AArch64/GlobalISel/combine-fneg.mir
  llvm/test/CodeGen/AArch64/GlobalISel/combine-fptrunc.mir
  llvm/test/CodeGen/AArch64/GlobalISel/combine-fsqrt.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86393.290001.patch
Type: text/x-patch
Size: 19763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200904/e434d692/attachment.bin>
    
    
More information about the llvm-commits
mailing list