aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2016-04-06 01:14:37 +0000
committerTodd Fiala <todd.fiala@gmail.com>2016-04-06 01:14:37 +0000
commit58c4dd7a71300a0e542efc2de0ce6a605627913a (patch)
tree4aa5d771969e01c544cc2ac721608b3442dba5fe /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parentbfc9131454a8a95196463612a49266ec1ae25bbd (diff)
downloadllvm-58c4dd7a71300a0e542efc2de0ce6a605627913a.zip
llvm-58c4dd7a71300a0e542efc2de0ce6a605627913a.tar.gz
llvm-58c4dd7a71300a0e542efc2de0ce6a605627913a.tar.bz2
make TestRegisterVariables slightly more resilient
This test sets the compiler optimization level to -O1 and makes some assumptions about how local frame vars will be stored (i.e. in registers). These assumptions are not always true. I did a first-pass set of improvements that: (1) no longer assumes that every one of the target locations has every variable in a register. Sometimes the compiler is even smarter and skips the register entirely. (2) simply expects one of the 5 or so variables it checks to be in a register. This test probably passes on a whole lot more systems than it used to now. This is certainly true on OS X. llvm-svn: 265498
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions