diff options
| author | Tilmann Scheller <t.scheller@samsung.com> | 2014-07-18 12:05:49 +0000 |
|---|---|---|
| committer | Tilmann Scheller <t.scheller@samsung.com> | 2014-07-18 12:05:49 +0000 |
| commit | 0fc933d6b81d3841f7e67d8a1adcffc5999493e8 (patch) | |
| tree | d9cdb0d038c4d084bbd0b502c89a16e04572f651 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 838afd799de55a9b8ccb219ba406a6bd0b94ecd8 (diff) | |
[ARM] Add earlyclobber constraint to pre/post-indexed ARM STR instructions.
The post-indexed instructions were missing the constraint, causing unpredictable STR 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.
This fixes PR20323.
llvm-svn: 213369
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
