summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2017-11-08 09:26:06 +0000
committerAlex Bradbury <asb@lowrisc.org>2017-11-08 09:26:06 +0000
commitcc988415febbdb8ce59c631856db642e7cd450ee (patch)
tree841d98364ce863982fbd5cd53bc546dbbaedcd55 /lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
parent28ef7d662fe11b44f9bc6e4e0336c20d6404394e (diff)
downloadbcm5719-llvm-cc988415febbdb8ce59c631856db642e7cd450ee.tar.gz
bcm5719-llvm-cc988415febbdb8ce59c631856db642e7cd450ee.zip
[NFCI] Ensure TargetOpcode::* are compatible with guessInstructionProperties=0
rL162640 introduced CodeGenTarget::guessInstructionProperties. If a target sets guessInstructionProperties=0 in its FooInstrInfo, tablegen will error if it has to guess properties from patterns. Unfortunately, guessInstructionProperties=0 can't be used with current upstream LLVM as instructions in the TargetOpcode namespace are always included and sometimes have inferred properties for mayLoad, mayStore, and hasSideEffects. This patch provides the simplest possible fix to this problem, setting default values for these fields in the TargetOpcode scope. There is no intended functional change, as the explicitly set properties should match what was previously inferred. A number of the instructions had hasSideEffects=1 inferred unintentionally. This patch makes it explicit, while future patches (such as D37097) correct the property. Differential Revision: https://reviews.llvm.org/D37065 llvm-svn: 317674
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud