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:
parent
a9ecc307a6
commit
fd88782f55
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user