projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: Make "SMC" instructions conditional on new TrustZone architecture feature.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMFastISel.cpp
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index b545dbc3ea1c0aaa9cd1ea7e14b528fc4b9c9b1d..29fcd4009af356fb1ff354e387f40ab4acbc980e 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-2922,6
+2922,7
@@
bool ARMFastISel::FastLowerArguments() {
return false;
EVT ArgVT = TLI.getValueType(ArgTy);
+ if (!ArgVT.isSimple()) return false;
switch (ArgVT.getSimpleVT().SimpleTy) {
case MVT::i8:
case MVT::i16: