[PATCH] D17673: DAGCombiner: Reduce 64-bit BFE pattern to pattern on 32-bit component

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 21:47:44 PST 2016


arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.

If the extracted bits are restricted to the upper half or lower half, this can be truncated.

http://reviews.llvm.org/D17673

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/arm64-bitfield-extract.ll
  test/CodeGen/AMDGPU/cgp-bitfield-extract.ll
  test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll
  test/CodeGen/AMDGPU/shift-and-i64-ubfe.ll
  test/CodeGen/X86/bmi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17673.49284.patch
Type: text/x-patch
Size: 29035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160227/d86659e9/attachment.bin>


More information about the llvm-commits mailing list