projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7224f84
)
Adjust the Intrinsics.gen interface a little bit
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 Apr 2006 03:35:30 +0000
(
03:35
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 2 Apr 2006 03:35:30 +0000
(
03:35
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27345
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/IntrinsicEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/IntrinsicEmitter.cpp
b/utils/TableGen/IntrinsicEmitter.cpp
index 1da361c9340e85f1dc5adda979d87ea8ec43c4d6..ff15996f0ccb86da3bf3e01e441bd06c3470d0c2 100644
(file)
--- a/
utils/TableGen/IntrinsicEmitter.cpp
+++ b/
utils/TableGen/IntrinsicEmitter.cpp
@@
-214,9
+214,9
@@
EmitNoMemoryInfo(const std::vector<CodeGenIntrinsic> &Ints, std::ostream &OS) {
void IntrinsicEmitter::
EmitSideEffectInfo(const std::vector<CodeGenIntrinsic> &Ints, std::ostream &OS){
- OS << "//
isInstructionTriviallyDead code
.\n";
+ OS << "//
Return true if doesn't access or only reads memory
.\n";
OS << "#ifdef GET_SIDE_EFFECT_INFO\n";
- OS << " switch (
F->getIntrinsicID()
) {\n";
+ OS << " switch (
IntrinsicID
) {\n";
OS << " default: break;\n";
for (unsigned i = 0, e = Ints.size(); i != e; ++i) {
switch (Ints[i].ModRef) {