diff options
author | Tilmann Scheller <t.scheller@samsung.com> | 2014-07-23 08:12:51 +0000 |
---|---|---|
committer | Tilmann Scheller <t.scheller@samsung.com> | 2014-07-23 08:12:51 +0000 |
commit | c28f0d587d07c4d78d7e90b9bf16aa4ca9da5447 (patch) | |
tree | bc8c4949d7bf2c38a1a5525ceb0a2c8b5f6c1666 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dea4761c06f9dd40032c31c952922e2cb62ae3c4 (diff) | |
download | llvm-c28f0d587d07c4d78d7e90b9bf16aa4ca9da5447.zip llvm-c28f0d587d07c4d78d7e90b9bf16aa4ca9da5447.tar.gz llvm-c28f0d587d07c4d78d7e90b9bf16aa4ca9da5447.tar.bz2 |
[ARM] Add earlyclobber constraint to pre/post-indexed ARM STRH instructions.
The post-indexed instructions were missing the constraint, causing unpredictable STRH instructions to be emitted.
The earlyclobber constraint on the pre-indexed STR instructions is not strictly necessary, as the instruction selection for pre-indexed STR instructions goes through an additional layer of pseudo instructions which have the constraint defined, however it doesn't hurt to specify the constraint directly on the pre-indexed instructions as well, since at some point someone might create instances of them programmatically and then the constraint is definitely needed.
llvm-svn: 213729
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions