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:
c14d3ca
)
This appears correct, enable it so we can see perf changes on testers
author
Chris Lattner
<sabre@nondot.org>
Thu, 8 Mar 2007 07:03:55 +0000
(07:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 8 Mar 2007 07:03:55 +0000
(07:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35024
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 3108bbab145240fb1e718227ecfa01c2f69e987a..de5b05f4c1c754f6cbc0a019a1b80578bfb4f223 100644
(file)
--- a/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@
-303,7
+303,7
@@
static bool AllUsersAreLoads(Value *Ptr) {
///
int SROA::isSafeUseOfAllocation(Instruction *User, AllocationInst *AI) {
if (BitCastInst *C = dyn_cast<BitCastInst>(User))
- return
0 && (isSafeUseOfBitCastedAllocation(C, AI) ? 3 : 0)
;
+ return
isSafeUseOfBitCastedAllocation(C, AI) ? 3 : 0
;
if (!isa<GetElementPtrInst>(User)) return 0;
GetElementPtrInst *GEPI = cast<GetElementPtrInst>(User);