Skip to content

Commit 69551a1

Browse files
kazutakahirataZentrik
authored andcommitted
[X86] Fix a warning
This patch fixes: llvm/lib/Target/X86/X86ISelLowering.cpp:31886:11: error: unused variable 'M' [-Werror,-Wunused-variable] (cherry picked from commit f83eeac)
1 parent 9abd435 commit 69551a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31766,7 +31766,6 @@ X86TargetLowering::lowerIdempotentRMWIntoFencedLoad(AtomicRMWInst *AI) const {
3176631766

3176731767
IRBuilder<> Builder(AI);
3176831768
Builder.CollectMetadataToCopy(AI, {LLVMContext::MD_pcsections});
31769-
Module *M = Builder.GetInsertBlock()->getParent()->getParent();
3177031769
auto SSID = AI->getSyncScopeID();
3177131770
// We must restrict the ordering to avoid generating loads with Release or
3177231771
// ReleaseAcquire orderings.

0 commit comments

Comments
 (0)