1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Silence GCC's -Wenum-compare after r288335 in the same way it is done

in X86FastISel.cpp.

llvm-svn: 288337
This commit is contained in:
Daniel Jasper 2016-12-01 14:33:50 +00:00
parent a9ecc307a6
commit fd88782f55

View File

@ -26280,7 +26280,8 @@ static bool combineX86ShuffleChain(ArrayRef<SDValue> Inputs, SDValue Root,
DCI.AddToWorklist(BitMask.getNode());
Res = DAG.getBitcast(MaskVT, V1);
DCI.AddToWorklist(Res.getNode());
unsigned AndOpcode = FloatDomain ? X86ISD::FAND : ISD::AND;
unsigned AndOpcode =
FloatDomain ? unsigned(X86ISD::FAND) : unsigned(ISD::AND);
Res = DAG.getNode(AndOpcode, DL, MaskVT, Res, BitMask);
DCI.AddToWorklist(Res.getNode());
DCI.CombineTo(Root.getNode(), DAG.getBitcast(RootVT, Res),