| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 116117
|
| |
|
|
|
|
|
|
| |
are still way too long, but it's a start.
No functional change intended.
llvm-svn: 116116
|
| |
|
|
|
|
|
|
| |
assertTrue()
usage to self.expect() which is more descriptive.
llvm-svn: 116115
|
| |
|
|
| |
llvm-svn: 116114
|
| |
|
|
|
|
|
| |
Such a check does not make any sense in presense of inlining and other compiler-dependent stuff.
This should fix bunch of warnings on mingw32.
llvm-svn: 116113
|
| |
|
|
|
|
|
|
|
|
| |
concept level stuff at this point, but it is generally working for those
instructions that know how to map the operands.
This patch fills in the register operands for add/sub/or/etc instructions
and adds the conditional execution predicate encoding.
llvm-svn: 116112
|
| |
|
|
| |
llvm-svn: 116107
|
| |
|
|
| |
llvm-svn: 116105
|
| |
|
|
|
|
|
|
|
| |
expression, the entire assignment tree is rewritten into a property
setter messaging. This includes rewriting the RHS.
Do not attempt to rewrite RHS again. Never rewrite a rewritten text!
Fixes //rdar: //8527018.
llvm-svn: 116104
|
| |
|
|
| |
llvm-svn: 116103
|
| |
|
|
| |
llvm-svn: 116102
|
| |
|
|
|
|
|
| |
brokenness in the designated-initializer ASTs. The ASTs were fixed by
Alp Toker's patch (r116098) for PR6955. Fixes PR6537.
llvm-svn: 116101
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completes support for C1X anonymous struct/union init features:
* Indexed anonymous member initializers should not be expanded. Doing so makes
little sense and would cause unresolvable semantic ambiguity in valid code
(regression introduced by r69153).
* Subobject initialization of (possibly nested) anonymous members are now
referred to with paths relative to the naming record context, eliminating the
synthesis of incorrect implicit InitListExprs that caused CodeGen to assert.
* Field lookup was missing a null check in IdentifierInfo comparison which
caused lookup for a known (already resolved) field to match the first unnamed
data member it encountered leading to silent miscompilation.
* Subobject paths are no longer built using the general purpose
Sema::BuildAnonymousStructUnionMemberPath(). If any corner cases crop up, we
will now assert earlier in Sema instead of passing invalid InitListExprs
through to CodeGen.
Fixes PR6955, from Alp Toker!
llvm-svn: 116098
|
| |
|
|
|
|
| |
rather than a space.
llvm-svn: 116097
|
| |
|
|
|
|
|
|
|
| |
self.expect()
which is more descriptive. And wrap the file open operation inside a with block
so that close() is automatically called upon exiting the block.
llvm-svn: 116096
|
| |
|
|
|
|
| |
are easier to diff with those produced by llvm-mc.
llvm-svn: 116095
|
| |
|
|
| |
llvm-svn: 116094
|
| |
|
|
|
|
|
|
|
|
| |
formulae which become illegal as a result of the offset updating don't
escape.
This is for rdar://8529692. No testcase yet, because the given cases
hit use-list ordering differences.
llvm-svn: 116093
|
| |
|
|
|
|
| |
sets up signal handlers it shouldn't when we are being used a shared library.
llvm-svn: 116084
|
| |
|
|
| |
llvm-svn: 116083
|
| |
|
|
| |
llvm-svn: 116082
|
| |
|
|
| |
llvm-svn: 116081
|
| |
|
|
|
|
|
|
|
|
| |
implicit. e.g.
%D6<def>, %D7<def> = VLD1q16 %R2<kill>, 0, ..., %Q3<imp-def>
%Q1<def> = VMULv8i16 %Q1<kill>, %Q3<kill>, ...
The real definition indices are 0,1.
llvm-svn: 116080
|
| |
|
|
| |
llvm-svn: 116072
|
| |
|
|
| |
llvm-svn: 116071
|
| |
|
|
|
|
|
|
|
|
| |
unless it's a non-packed field, in which case it can only increase the
alignment. [[align]] effectively works the same way for well-formed code
(because it's ill-formed for [[align]] to decrease alignment ever).
Fixes rdar://problem/8335865
llvm-svn: 116070
|
| |
|
|
| |
llvm-svn: 116069
|
| |
|
|
| |
llvm-svn: 116068
|
| |
|
|
|
|
| |
''const'ify getMachineOpValue() and associated helpers.'
llvm-svn: 116067
|
| |
|
|
| |
llvm-svn: 116065
|
| |
|
|
| |
llvm-svn: 116064
|
| |
|
|
| |
llvm-svn: 116063
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the expected match string.
o lldbtest.py:
Indicate when a command fails, even if there is nothing in the error stream.
o TestHelp.py:
Add a regression test case for 'help image dump symtab'.
o CommandObjectHelp.cpp:
Some of the logic branches with successful help command results were not tagged
with a Success Status. They are fixed now. This is important for Python
interaction.
llvm-svn: 116062
|
| |
|
|
|
|
| |
this construct.
llvm-svn: 116061
|
| |
|
|
|
|
| |
This is tested by file-statics.exp in gdb testsuite.
llvm-svn: 116060
|
| |
|
|
| |
llvm-svn: 116059
|
| |
|
|
|
|
| |
the global arguments table.
llvm-svn: 116058
|
| |
|
|
|
|
| |
performance metrics. Partial Specialization will apply the former to function specializations, and the latter to all callsites that can use a specialization, in order to decide whether to create a specialization
llvm-svn: 116057
|
| |
|
|
|
|
| |
case. Add test case. This code eventually needs to be tighter, since it's always allocating it, even in leaf routines.
llvm-svn: 116056
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
callee-saved registers at the end of the lists. Also prefer to avoid using
the low registers that are in register subclasses required by certain
instructions, so that those registers will more likely be available when needed.
This change makes a huge improvement in spilling in some cases. Thanks to
Jakob for helping me realize the problem.
Most of this patch is fixing the testsuite. There are quite a few places
where we're checking for specific registers. I changed those to wildcards
in places where that doesn't weaken the tests. The spill-q.ll and
thumb2-spill-q.ll tests stopped spilling with this change, so I added a bunch
of live values to force spills on those tests.
llvm-svn: 116055
|
| |
|
|
| |
llvm-svn: 116054
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the i8 versions of instructions in some cases. In test6, we started
generating:
cmpq $0, -8(%rsp) ## encoding: [0x48,0x81,0x7c,0x24,0xf8,0x00,0x00,0x00,0x00]
## <MCInst #478 CMP64mi32
## <MCOperand Reg:114>
## <MCOperand Imm:1>
## <MCOperand Reg:0>
## <MCOperand Imm:-8>
## <MCOperand Reg:0>
## <MCOperand Imm:0>>
instead of:
cmpq $0, -8(%rsp) ## encoding: [0x48,0x83,0x7c,0x24,0xf8,0x00]
## <MCInst #479 CMP64mi8
## <MCOperand Reg:114>
## <MCOperand Imm:1>
## <MCOperand Reg:0>
## <MCOperand Imm:-8>
## <MCOperand Reg:0>
## <MCOperand Imm:0>>
Fix this and add some comments.
llvm-svn: 116053
|
| |
|
|
| |
llvm-svn: 116052
|
| |
|
|
| |
llvm-svn: 116051
|
| |
|
|
| |
llvm-svn: 116050
|
| |
|
|
|
|
|
|
| |
Added a new SortOrder enumeration and hooked it up to the "image dump symtab"
command so we can dump symbol tables in the original order, sorted by address,
or sorted by name.
llvm-svn: 116049
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
preambles:
- When we rebuild a precompiled preamble, make sure to disable
skipping anything in the main file; we may have had leftover
preamble-skipping values in the lexer, which leads to very empty
preamble. This is a correctness issue.
- When we rebuild a precompiled preamble, clear out any prior state
in the Diagnostic object. Otherwise, we might think that there
were errors when we were building the preamble itself, and
therefore reject the resulting preamble. This is mainly a
performance issue.
- Don't remove old remappings when digging out the remapping for the
main file. Having the old mappings around does not hurt in the
common case (later remappings will just overwrite them), and is
important when we fail to find a preamble: we don't want to have
removed the remapping, because we'll need it later.
llvm-svn: 116041
|
| |
|
|
|
|
|
|
|
| |
reapply: reimplement the second half of the or/add optimization. We should now
with no changes. Turns out that one missing "Defs = [EFLAGS]" can upset things
a bit.
llvm-svn: 116040
|
| |
|
|
|
|
|
|
| |
"Reimplement (part of) the or -> add optimization. Matching 'or' into 'add'"
With a critical fix: the add pseudos clobber EFLAGS.
llvm-svn: 116039
|
| |
|
|
| |
llvm-svn: 116038
|