Add predicates for distinguishing 32-bit and 64-bit modes.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 04:09:06 +0000 (04:09 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 04:09:06 +0000 (04:09 +0000)
commita10fd6d3d1027b3903d27af701f876e36c1725c0
tree0e94e1d4b07a100a9b25fee6f79404c36ce54a0d
parentf37812e906a3abbdb8353e2eb9e8223ff9036b68
Add predicates for distinguishing 32-bit and 64-bit modes.

The 'sparc' architecture produces 32-bit code while 'sparcv9' produces
64-bit code.

It is also possible to run 32-bit code using SPARC v9 instructions with:

  llc -march=sparc -mattr=+v9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcInstrInfo.td