summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-08-05 07:31:30 +0000
committerJuergen Ributzka <juergen@apple.com>2014-08-05 07:31:30 +0000
commit9503327756701e93584c29b66ee634e17cc9268f (patch)
treee08f625d00706f97dc6daa859df910f40fe1b8d2 /openmp/runtime/src
parentbbe649c25084b1b53ca5c33ce7cf62ec7b2c8dcf (diff)
downloadbcm5719-llvm-9503327756701e93584c29b66ee634e17cc9268f.tar.gz
bcm5719-llvm-9503327756701e93584c29b66ee634e17cc9268f.zip
[FastIsel][AArch64] Fix previous commit r214844 (Don't perform sign-/zero-extension for function arguments that have already been sign-/zero-extended.)
The original code would fail for unsupported value types like i1, i8, and i16. This fix changes the code to only create a sub-register copy for i64 value types and all other types (i1/i8/i16/i32) just use the source register without any modifications. getRegClassFor() is now guarded by the i64 value type check, that guarantees that we always request a register for a valid value type. llvm-svn: 214848
Diffstat (limited to 'openmp/runtime/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud