Fix compiler warning when compiling without asserts
authorrathod-sahaab <abhayonlyone@gmail.com>
Fri, 13 Mar 2020 05:24:38 +0000 (00:24 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Fri, 13 Mar 2020 05:26:49 +0000 (00:26 -0500)
commit263c4a3c75a46996bec1f23264874b7f1334426a
treef1c8465113d166a50e973c21799daeed1aa7eb33
parentc480c584a0b7de675dddb2616122fc218cd72c0e
Fix compiler warning when compiling without asserts

This patch aims to prevent warning-as-error failures in release build.
As suggested in this comment
https://reviews.llvm.org/D69930#1910922

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D75970
llvm/lib/Transforms/IPO/OpenMPOpt.cpp