[PATCH] D33367: [AMDGPU] Narrow lshl from 64 to 32 bit if possible

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 09:18:17 PDT 2017


vpykhtin added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.cpp:2622
+    KnownBits Known;
+    SDValue X = LHS->getOperand(0);
+    DAG.computeKnownBits(X, Known);
----------------
What type is expected for X? I mean, can it be 16 or 8 bit type?


Repository:
  rL LLVM

https://reviews.llvm.org/D33367





More information about the llvm-commits mailing list