Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
d602c35e
Commit
d602c35e
authored
10 years ago
by
Yaron Keren
Browse files
Options
Downloads
Patches
Plain Diff
Silence three more variable set but not used warnings, NFC.
llvm-svn: 230853
parent
d40991bf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+3
-0
3 additions, 0 deletions
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
with
3 additions
and
0 deletions
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+
3
−
0
View file @
d602c35e
...
...
@@ -3091,6 +3091,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
}
I
=
GetElementPtrInst
::
Create
(
BasePtr
,
GEPIdx
);
(
void
)
Ty
;
assert
(
!
Ty
||
Ty
==
cast
<
GetElementPtrInst
>
(
I
)
->
getSourceElementType
());
InstructionList
.
push_back
(
I
);
if
(
InBounds
)
...
...
@@ -3600,6 +3601,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
return
EC
;
I
=
new
LoadInst
(
Op
,
""
,
Record
[
OpNum
+
1
],
Align
);
(
void
)
Ty
;
assert
((
!
Ty
||
Ty
==
I
->
getType
())
&&
"Explicit type doesn't match pointee type of the first operand"
);
...
...
@@ -3631,6 +3633,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
return
EC
;
I
=
new
LoadInst
(
Op
,
""
,
Record
[
OpNum
+
1
],
Align
,
Ordering
,
SynchScope
);
(
void
)
Ty
;
assert
((
!
Ty
||
Ty
==
I
->
getType
())
&&
"Explicit type doesn't match pointee type of the first operand"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment