summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2010-02-10 23:37:45 +0000
committerMon P Wang <wangmp@apple.com>2010-02-10 23:37:45 +0000
commit5b77f0dac11a720f9c430a51bcc69313ad57ee98 (patch)
treef7a8cd41b3dce90d4cdef376869adfb8e4983a60 /clang/lib/CodeGen/CodeGenModule.cpp
parent989908fbacab3462520eb55a4fb7c0778689ea08 (diff)
downloadbcm5719-llvm-5b77f0dac11a720f9c430a51bcc69313ad57ee98.tar.gz
bcm5719-llvm-5b77f0dac11a720f9c430a51bcc69313ad57ee98.zip
The previous fix of widening divides that trap was too fragile as it depends on custom
lowering and requires that certain types exist in ValueTypes.h. Modified widening to check if an op can trap and if so, the widening algorithm will apply only the op on the defined elements. It is safer to do this in widening because the optimizer can't guarantee removing unused ops in some cases. llvm-svn: 95823
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud