aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-29 23:12:43 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-29 23:12:43 +0000
commit5f3378879f74f427981320f7aebf3f7f377b1be6 (patch)
treefe942d7093c078d0a864fa7330ae12de7b49a54c /llvm/lib/Support/Timer.cpp
parentdf780303efe2a52a5ee104fdd161e66a196164f0 (diff)
downloadllvm-5f3378879f74f427981320f7aebf3f7f377b1be6.zip
llvm-5f3378879f74f427981320f7aebf3f7f377b1be6.tar.gz
llvm-5f3378879f74f427981320f7aebf3f7f377b1be6.tar.bz2
R600: Change UDIV/UREM to UDIVREM when legalizing types
When legalizing ops, with UDIV/UREM set to expand, they automatically expand to UDIVREM (if legal or custom). We need to do this manually for legalize types. v2: SI should be set to Expand because the type is legal, and it is automatically lowered to UDIVREM if UDIVREM is Legal/Custom R600 should set to UDIV/UREM to Custom because it needs to lower them during type legalization Patch by: Jan Vesely Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 207587
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions