aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/TransformInternals.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 21:48:13 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 21:48:13 +0000
commitf9568d8700d5389799796262cde313bb5c7d588a (patch)
treed63e7f6f0a37b1b9f3b4018962565a11fc1536ca /lib/Transforms/TransformInternals.cpp
parentd5c654bb0a179cd50c579f29cf10f37eb101cd06 (diff)
Don't diddle VRSAVE if no registers need to be added/removed from it. This
allows us to codegen functions as: _test_rol: vspltisw v2, -12 vrlw v2, v2, v2 blr instead of: _test_rol: mfvrsave r2, 256 mr r3, r2 mtvrsave r3 vspltisw v2, -12 vrlw v2, v2, v2 mtvrsave r2 blr Testcase here: CodeGen/PowerPC/vec_vrsave.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions