-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[NVPTX] Fix maybe unused variable in 17852ded #169542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@llvm/pr-subscribers-backend-nvptx Author: Walter Lee (googlewalt) ChangesFull diff: https://github.com/llvm/llvm-project/pull/169542.diff 1 Files Affected:
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index f3a3bc785d997..8b72b1e1f3a52 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -3457,7 +3457,7 @@ convertMLOADToLoadWithUsedBytesMask(MemSDNode *N, SelectionDAG &DAG) {
SDValue Chain = N->getOperand(0);
SDValue BasePtr = N->getOperand(1);
SDValue Mask = N->getOperand(3);
- SDValue Passthru = N->getOperand(4);
+ [[maybe_unused]] SDValue Passthru = N->getOperand(4);
SDLoc DL(N);
EVT ResVT = N->getValueType(0);
|
boomanaiden154
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title seems to mention the wrong commit?
1a03673 does not touch NVPTXISelLowering.
boomanaiden154
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the commit title with the correct one.
Thanks! |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/30442 Here is the relevant piece of the build log for the reference |
No description provided.