commit | 5edf06bb575e53370c87f7ffa34e2c8f2e403932 | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Fri Aug 28 01:49:59 2015 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Fri Aug 28 01:49:59 2015 +0000 |
tree | f210abe28faa08168311fb0df8bed6f7fa7b3509 | |
parent | 0bf9bbac4562e465ea8e7bc8f428456d71b4215c [diff] |
[CodeGen] Support (and default to) expanding READCYCLECOUNTER to 0. For targets that didn't support this, this will let us respect the langref instead of failing to select. Note that we don't need to change the 32-bit x86/PPC lowerings (to account for the result type/# difference) because they're both custom and bypass type legalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246258 91177308-0d34-0410-b5e6-96231b3b80d8