Skip to content

Commit f83eeac

Browse files
[X86] Fix a warning
This patch fixes: llvm/lib/Target/X86/X86ISelLowering.cpp:31886:11: error: unused variable 'M' [-Werror,-Wunused-variable]
1 parent 39a4da2 commit f83eeac

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
@@ -31883,7 +31883,6 @@ X86TargetLowering::lowerIdempotentRMWIntoFencedLoad(AtomicRMWInst *AI) const {
3188331883

3188431884
IRBuilder<> Builder(AI);
3188531885
Builder.CollectMetadataToCopy(AI, {LLVMContext::MD_pcsections});
31886-
Module *M = Builder.GetInsertBlock()->getParent()->getParent();
3188731886
auto SSID = AI->getSyncScopeID();
3188831887
// We must restrict the ordering to avoid generating loads with Release or
3188931888
// ReleaseAcquire orderings.

0 commit comments

Comments
 (0)