projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++] Use 'nullptr'. Target edition.
[oota-llvm.git]
/
lib
/
Target
/
NVPTX
/
NVPTXInstrInfo.cpp
diff --git
a/lib/Target/NVPTX/NVPTXInstrInfo.cpp
b/lib/Target/NVPTX/NVPTXInstrInfo.cpp
index 6808f0e67cce4a51507ea637d111723103d787a7..cdc80887dc28ff54d2304afec7ed7b40076a7f30 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXInstrInfo.cpp
+++ b/
lib/Target/NVPTX/NVPTXInstrInfo.cpp
@@
-257,7
+257,7
@@
unsigned NVPTXInstrInfo::InsertBranch(
"NVPTX branch conditions have two components!");
// One-way branch.
- if (
FBB == 0
) {
+ if (
!FBB
) {
if (Cond.empty()) // Unconditional branch
BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(TBB);
else // Conditional branch