[PATCH] D62806: [X86] X86DAGToDAGISel::matchBitExtract(): pattern c: truncation awareness

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 03:00:07 PDT 2019


lebedev.ri marked an inline comment as done.
lebedev.ri added inline comments.


================
Comment at: test/CodeGen/X86/extract-bits.ll:6593
   %numhighbits = sub i64 64, %numlowbits
   %mask = lshr i64 4294967295, %numhighbits
   %masked = and i64 %mask, %shifted
----------------
Ah no, this is wrong.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62806





More information about the llvm-commits mailing list