diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-24 22:46:53 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-24 22:46:53 +0000 |
commit | c2272df1be0bfdd31a89d2f6ca60bfbf5fd5be50 (patch) | |
tree | 4ae0bbd61a41d927c7365a0f615db4ec729c2136 /lldb/scripts/Python | |
parent | 7b838f53a65f6533f7ea5023d6d0c49e5df5319e (diff) | |
download | llvm-c2272df1be0bfdd31a89d2f6ca60bfbf5fd5be50.zip llvm-c2272df1be0bfdd31a89d2f6ca60bfbf5fd5be50.tar.gz llvm-c2272df1be0bfdd31a89d2f6ca60bfbf5fd5be50.tar.bz2 |
Infer instruction properties from single-instruction patterns.
Previously, instructions without a primary patterns wouldn't get their
properties inferred. Now, we use all single-instruction patterns for
inference, including 'def : Pat<>' instances.
This causes a lot of instruction flags to change.
- Many instructions no longer have the UnmodeledSideEffects flag because
their flags are now inferred from a pattern.
- Instructions with intrinsics will get a mayStore flag if they already
have UnmodeledSideEffects and a mayLoad flag if they already have
mayStore. This is because intrinsics properties are linear.
- Instructions with atomic_load patterns get a mayStore flag because
atomic loads can't be reordered. The correct workaround is to create
pseudo-instructions instead of using normal loads. PR13693.
llvm-svn: 162614
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions