[PATCH] D34723: [AMDGPU] truncate left shift

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 19:10:53 PDT 2017


rampitec added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:8215
+    KnownBits Known;
+    DAG.computeKnownBits(Amt, Known);
+    unsigned Size = VT.getScalarSizeInBits();
----------------
arsenm wrote:
> Will this regress the constant vector case?
No.


https://reviews.llvm.org/D34723





More information about the llvm-commits mailing list