projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WebAssembly] Tidy up some unneeded newline characters.
[oota-llvm.git]
/
lib
/
Target
/
NVPTX
/
NVPTXGenericToNVVM.cpp
diff --git
a/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
b/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
index 850c020edf3f707086765872544c2d7d345fd29a..6fd09c40526063b6ca0ea3b80a2224da2b855c72 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
+++ b/
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
@@
-347,6
+347,7
@@
Value *GenericToNVVM::remapConstantExpr(Module *M, Function *F, ConstantExpr *C,
NewOperands[0],
makeArrayRef(&NewOperands[1], NumOperands - 1))
: Builder.CreateInBoundsGEP(
+ cast<GEPOperator>(C)->getSourceElementType(),
NewOperands[0],
makeArrayRef(&NewOperands[1], NumOperands - 1));
case Instruction::Select: