aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-12-20 02:08:46 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-12-20 02:08:46 +0000
commit1f3c9ba9f14f88e79fee4e0ada4406129211194d (patch)
tree7be819e60a9f44542c90d59b97e5ccb1ae0ba2c2 /llvm/lib/IR/Module.cpp
parentc0a5aaeab0de2cd345efb6afb372d7dff2c36ee7 (diff)
downloadllvm-1f3c9ba9f14f88e79fee4e0ada4406129211194d.zip
llvm-1f3c9ba9f14f88e79fee4e0ada4406129211194d.tar.gz
llvm-1f3c9ba9f14f88e79fee4e0ada4406129211194d.tar.bz2
Implement trunc builtin.
OpenCL C lang says that trunc rounds towards zero. llvm.trunc.* intrinsic rounds to integer not larger in magnitude. These definitions are equivalent. Patch by: Jan Vesely Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 197769
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions