mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
remove unnecessary casts; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2929,8 +2929,7 @@ void SelectionDAGBuilder::visitLoad(const LoadInst &I) {
|
|||||||
Root = TLI.prepareVolatileOrAtomicLoad(Root, dl, DAG);
|
Root = TLI.prepareVolatileOrAtomicLoad(Root, dl, DAG);
|
||||||
|
|
||||||
SmallVector<SDValue, 4> Values(NumValues);
|
SmallVector<SDValue, 4> Values(NumValues);
|
||||||
SmallVector<SDValue, 4> Chains(std::min(unsigned(MaxParallelChains),
|
SmallVector<SDValue, 4> Chains(std::min(MaxParallelChains, NumValues));
|
||||||
NumValues));
|
|
||||||
EVT PtrVT = Ptr.getValueType();
|
EVT PtrVT = Ptr.getValueType();
|
||||||
unsigned ChainI = 0;
|
unsigned ChainI = 0;
|
||||||
for (unsigned i = 0; i != NumValues; ++i, ++ChainI) {
|
for (unsigned i = 0; i != NumValues; ++i, ++ChainI) {
|
||||||
@ -2994,8 +2993,7 @@ void SelectionDAGBuilder::visitStore(const StoreInst &I) {
|
|||||||
SDValue Ptr = getValue(PtrV);
|
SDValue Ptr = getValue(PtrV);
|
||||||
|
|
||||||
SDValue Root = getRoot();
|
SDValue Root = getRoot();
|
||||||
SmallVector<SDValue, 4> Chains(std::min(unsigned(MaxParallelChains),
|
SmallVector<SDValue, 4> Chains(std::min(MaxParallelChains, NumValues));
|
||||||
NumValues));
|
|
||||||
EVT PtrVT = Ptr.getValueType();
|
EVT PtrVT = Ptr.getValueType();
|
||||||
bool isVolatile = I.isVolatile();
|
bool isVolatile = I.isVolatile();
|
||||||
bool isNonTemporal = I.getMetadata(LLVMContext::MD_nontemporal) != nullptr;
|
bool isNonTemporal = I.getMetadata(LLVMContext::MD_nontemporal) != nullptr;
|
||||||
|
Reference in New Issue
Block a user