[Beignet] [PATCH] GBE: Fix assert when get metadata llvm.loop.unroll.enable.

Song, Ruiling ruiling.song at intel.com
Thu Oct 27 06:46:30 UTC 2016


-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Yang Rong
Sent: Thursday, October 27, 2016 4:03 PM
To: beignet at lists.freedesktop.org
Cc: Yang, Rong R <rong.r.yang at intel.com>
Subject: [Beignet] [PATCH] GBE: Fix assert when get metadata llvm.loop.unroll.enable.

Metadata llvm.loop.unroll.enable only has one operand, hint the
MD->getNumOperands() == 2 assert, this assert is wrong. Refine the
get unroll metadata function.

LGTM

- Ruiling


More information about the Beignet mailing list